Worked solution
Test a filling machine using a sample standard deviation
A machine is set to fill bottles with 1000 ml of soy milk. A random sample of 80 filled bottles was taken and the volume of soy milk in each bottle was measured. The sample mean and standard deviation obtained was 997.7 ml and 11.23 ml respectively. Test, at the 4% level of significance, whether the mean volume of soy milk is 1000 ml. marks
[2009/MJC/II/7]
CJC · Review problems · Question 4
Answer
, two-sided : do not reject at 4%.
Variance convention and hypotheses
Following the source convention, the stated sample standard deviation 11.23 uses divisor n. Its unbiased variance estimate is . Let be the population mean bottle volume in ml. Test against . If a calculator instead reports a standard deviation already using n−1, do not apply this correction twice.
P-value method
Under , use for the large sample. Then The two-sided p-value is . Do not reject ; there is insufficient evidence at 4% that the mean volume differs from 1000 ml. The source Z-Test Stats input is null 1000, estimated standard deviation 11.30085244, sample mean 997.7,n 80, not-equal alternative.
Critical-value method
A two-sided 4% test allocates 2% to each tail: critical values . Since , do not reject. Failure to reject is not proof of the exact 1000 ml mean.
Compare your sketch
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
Common mistakes
The source convention corrects the supplied variance by n/(n−1); it does not treat 11.23 as a known population standard deviation.
Solution notes
Printed statistic numerator says Xbar−10000 rather than Xbar−1000. Both final paragraphs say 1% although the question, comparison and critical values are 4%. The intended 4% decision is retained explicitly.