Worked example 1
The mass of a certain type of chocolate bar is claimed to be 50g. The masses are known to be normally distributed with a standard deviation of 1.5g. A quality control manager suspects that the machine is producing underweight bars. She takes a random sample of 10 bars and finds their mean mass is 49.2g. Test her suspicion at the 5% significance level.
Show solution outline
- Hypotheses: Let be the population mean mass of the chocolate bars. (The mean mass is 50g). (The mean mass is less than 50g, i.e., underweight). This is a one-tailed test.
- Significance Level: (5%).
- Critical Value: For a one-tailed test at the 5% level, we need the Z-value that gives a lower tail probability of 0.05. From tables, this corresponds to . So, the critical value is -1.645. The critical region is .
- Test Statistic: The population is . We have , , .
- Comparison and Conclusion: The test statistic is less than the critical value of . Therefore, the result falls in the critical region. We reject . There is sufficient evidence at the 5% significance level to suggest that the machine is producing underweight chocolate bars.