How do I do a statistics test that my population mean is less than some value (rather than equal to some value)? I want to do this in two flavors:
- sample 30 oranges and test whether the average weight of an orange from my population is less than 1 pound.
- sample 30 oranges and 30 apples test whether the the average weight of an apple from my population is more than 2x the the average weight of an orange from my population.
For the first case, I see a Student's t-test for one sample which looks related: could I verify that the sample is different from 1 pound with that test, then actually compute the sample mean and compare to 1 pound to check if I'm below or above.
For the second case, could I do a one-way anova? I would double the weight of each sampled apple and use these new values as a sample to compare vs the sampled oranges. Again, I would use the test to verify that they were different, then actually compute the respective sample means and compare to see if I'm below or above.
Is this the proper way to do such tests that a population mean is less/greater than some value, or is there some better way?