A machine is set to fill packets with a mean weight of 50 g. A random sample of 5 packets has weights (in g) 50, 52, 53, 54, 56. To test \(H_0: \mu = 50\) against \(H_1: \mu \ne 50\) at 5% level of significance, the sample standard deviation is taken as \(s = \sqrt{\displaystyle\frac{\sum (x - \bar{x})^2}{n - 1}}\), and the critical value of t at 5% level of significance (two-tailed) for 4 degrees of freedom is 2.776. Which of the following are correct?
(A) The sample mean is 53 g.
(B) The number of degrees of freedom is 5.
(C) The value of the t-statistic is 3.
(D) The null hypothesis \(H_0\) is accepted at 5% level of significance.
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → (A) and (C) only
The sample mean:
\( \displaystyle \bar{x} = \frac{50 + 52 + 53 + 54 + 56}{5} = \frac{265}{5} = 53 \)
The deviations from 53 are −3, −1, 0, 1, 3, so
\(\sum (x - \bar{x})^2 = 9 + 1 + 0 + 1 + 9 = 20\)
\( \displaystyle s = \sqrt{\frac{20}{4}} = \sqrt{5} \)
The one-sample t-statistic is
\( \displaystyle t = \frac{\bar{x} - \mu}{s/\sqrt{n}} \)
\( \displaystyle = \frac{53 - 50}{\sqrt{5}/\sqrt{5}} \)
\(= 3\)
The degrees of freedom are n − 1 = 4, and the critical value is 2.776. Since |t| = 3 > 2.776, \(H_0\) is rejected.
So \(\bar{x} = 53\), degrees of freedom = 4, t = 3, and \(H_0\) is rejected.
Checking the statements
(A) The sample mean is 53 g. — Correct. 265 ÷ 5 = 53.
(B) The number of degrees of freedom is 5. — Incorrect. Degrees of freedom = n − 1 = 4.
(C) The value of the t-statistic is 3. — Correct. \(t = 3 \div (\sqrt{5}/\sqrt{5}) = 3\).
(D) The null hypothesis \(H_0\) is accepted at 5% level of significance. — Incorrect. |t| = 3 is more than 2.776, so \(H_0\) is rejected.