A chocolate manufacturing company produces chocolate bars. The packaging of the chocolate bar states that the mass of each bar is 200 g. The production manager has been receiving complaints that the mass is overstated and he wants to carry out a hypothesis test.
- ((i))
Explain whether the manager should carry out a 1-tail test or a 2-tail test. State appropriate hypotheses for the test, defining any symbols you use.
- ((ii))
The masses, grams, of a random sample of 30 chocolate bars are summarised as follows.
$n = 30 \qquad \sum(x-200) = -54 \qquad \sum(x-200)^2 = 550
Calculate unbiased estimates of the population mean and variance of the mass of chocolate bars.
- ((iii))
Carry out this test, at the 1% level of significance.
- ((iv))
The company replaces all the machines producing the chocolate bars. The supplier of the machines claims that the mass of each chocolate bar will have a normal distribution with mean 200 grams and standard deviation 2 grams.
The manager takes a random sample of chocolate bars, and the sample mean mass is found to be 199.2 grams. A test is carried out, at the 5% level of significance, to determine whether the mean mass of the chocolate bars is indeed 200 grams. Given that the null hypothesis is not rejected, find the maximum value of .
It won't just hand you the answer — it asks where you're stuck.How the checker works
Worked solution
12((i))
1. Determine and explain the choice of a 1-tail or 2-tail test.
The manager is specifically testing if the mass is overstated, which means checking if the true mean mass is less than . Since the test is looking for a decrease in one specific direction, a 1-tail test should be carried out.
2. State the hypotheses and define the symbol used.
Let be the population mean mass of the chocolate bars in grams.
A 1-tail test should be used.
Let be the population mean mass of the chocolate bars in grams.
12((ii))
1. Calculate the unbiased estimate of the population mean.
2. Calculate the unbiased estimate of the population variance.
Mean , Variance (to 3 s.f.)
12((iii))
1. Determine the test statistic and $p$-value using the sample statistics.
From parts (i) and (ii), we are testing against , with and .
Since is large, we use a -test. Under , the test statistic is:
Using a graphing calculator,
2. Compare the $p$-value to the significance level and state the conclusion in context.
Level of significance, .
Since , we reject .
There is sufficient evidence at the 1% level of significance to conclude that the mean mass of the chocolate bars is less than (i.e. the manager's complaints that the mass is overstated are justified).
Since the -value () is less than , reject . There is sufficient evidence at the 1% level of significance that the mass of the chocolate bars is overstated.
12((iv))
1. State the hypotheses and find the critical value for the test.
Let be the population mean mass in grams.
Since the test is to determine if the mean is indeed 200 g, we use a 2-tail test at the 5% level of significance ().
The critical -values are .
2. Set up the inequality for the non-rejection of the null hypothesis.
Under , the test statistic is .
For to not be rejected, the test statistic must fall inside the non-rejection region (between the critical values). Given , we consider the lower tail limit:
3. Solve the inequality for $n$.
4. Determine the maximum integer value for $n$.
Since the sample size must be an integer, the maximum possible value is 24.
AI analysis — may contain mistakes.
Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.
More questions on this topic
- 1A nutritionist claims that the mean number of calories in an energy bar is 350 cal. The nutritionist collected and measu…
- 2The owner of Eng Choo Farm claims that the eggs produced at his farm has an average cholesterol content of mg pe…
- 3A study found that students at the National University of Singapore and the Nanyang Technological University sleep a…
- 4A bakery claims that the mass of a cake, on average, is 600 grams each. A random sample of 10 cakes is examined and the…
- 5Mr Dough's factory produces packets of flour for sale in local supermarkets packed in 2 sizes -- Regular-sized packets a…