A nutritionist claims that the mean number of calories in an energy bar is 350 cal. The nutritionist collected and measured the number of calories of a random sample of 15 energy bars. The mean and variance of the sample was 347.2 cal and 20.74 cal2\text{cal}^2 respectively.

  1. (i)

    The nutritionist wishes to carry out a hypothesis test on his claim. Explain why tt-test instead of zz-test is to be used. State an assumption for the test to be valid.

  2. (ii)

    Test at 5% level of significance, whether the mean number of calories in an energy bar is 350 cal, defining any symbols that you use.

  3. (iii)

    Suppose the nutritionist uses a different test in part (ii). Without further calculation, explain and state whether the conclusion will be different.

  4. (iv)

    The manufacturer of the energy bar refines the manufacturing process and the new energy bars follow a normal distribution with mean μ\mu cal and variance 20.74 cal2\text{cal}^2. The manufacturer then provides the nutritionist with another sample of 15 energy bars.

    Find the range of mean number of calories, xˉ\bar{x}, of the second sample of 15 energy bar so that the null hypothesis in part (ii) is not rejected at 5% level of significance. Leave your answer correct to one decimal place.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

10(i)

1. Explain why a $t$-test is used instead of a $z$-test.

A tt-test is used instead of a zz-test because the population variance is unknown and the sample size n=15n = 15 is small (typically n<30n < 30).

2. State the necessary assumption for a small-sample test.

For a small sample test to be valid when the population variance is unknown, it must be assumed that the population (the number of calories in an energy bar) is normally distributed.

Answer

A tt-test is used because the population variance is unknown and the sample size (n=15n=15) is small. The assumption is that the number of calories in an energy bar follows a normal distribution.

10(ii)

1. Define the population mean and state the null and alternative hypotheses.

Let μ\mu be the population mean number of calories in an energy bar.
H0:μ=350H_0 : \mu = 350
H1:μ≠350H_1 : \mu \neq 350

2. Calculate the unbiased estimate of the population variance.

Given the sample size n=15n = 15 and the sample variance =20.74= 20.74, the unbiased estimate of the population variance is:
s2=nn−1×(sample variance)=1514×20.74=155.557≈22.221s^2 = \frac{n}{n-1} \times (\text{sample variance}) = \frac{15}{14} \times 20.74 = \frac{155.55}{7} \approx 22.221

3. State the test statistic and compute the $p$-value using a graphing calculator.

Under H0H_0, the test statistic is T=Xˉ−μs/n∼t(14)T = \frac{\bar{X} - \mu}{s / \sqrt{n}} \sim t(14).

Using a graphing calculator to perform a tt-test with:
μ0=350\mu_0 = 350
xˉ=347.2\bar{x} = 347.2
sx=22.221≈4.714s_x = \sqrt{22.221} \approx 4.714
n=15n = 15

p-value=0.03717≈0.0372 (to 3 s.f.)p\text{-value} = 0.03717 \approx 0.0372 \text{ (to 3 s.f.)}

4. State the conclusion of the hypothesis test in the context of the question.

Level of significance α=0.05\alpha = 0.05.
Since p-value=0.0372<0.05p\text{-value} = 0.0372 < 0.05, we reject H0H_0.
There is sufficient evidence at the 5%5\% level of significance to conclude that the mean number of calories in an energy bar is not 350350 cal.

Answer

Reject H0H_0. There is sufficient evidence at the 5%5\% level of significance to conclude that the mean number of calories in an energy bar is not 350350 cal.

10(iii)

1. Identify the different test and explain its effect on the $p$-value or critical region.

The 'different test' refers to the zz-test mentioned in part (i). For the same test statistic, the standard normal distribution has thinner tails than the tt-distribution, meaning the pp-value for the zz-test will be smaller than the pp-value for the tt-test (alternatively, the zz-test critical region is wider since 1.960<2.1451.960 < 2.145).

2. State whether the conclusion will change based on the previous decision.

Since the null hypothesis H0H_0 was already rejected in part (ii) at the 5% level of significance, a smaller pp-value (or wider critical region) means H0H_0 will still firmly be rejected. Thus, the conclusion will not be different.

Answer

The different test refers to the zz-test. The pp-value calculated using the zz-test will be smaller than the pp-value calculated using the tt-test. Since H0H_0 was rejected in part (ii), it will still be rejected. The conclusion will not be different.

10(iv)

1. State the hypotheses and identify the appropriate test statistic.

From part (ii), the hypotheses are:
H0:μ=350H_0: \mu = 350
H1:μ≠350H_1: \mu \neq 350

For the new sample, the population variance is known (σ2=20.74\sigma^2 = 20.74) and the population follows a normal distribution. Thus, we use a zz-test instead of a tt-test.
Under H0H_0, the test statistic is Z=Xˉ−35020.74/15∼N(0,1)Z = \frac{\bar{X} - 350}{\sqrt{20.74 / 15}} \sim \mathrm{N}(0, 1).

2. Set up the non-rejection region for a 2-tailed test at the 5% level of significance.

For a 2-tailed test at the 5% level of significance, H0H_0 is not rejected if the test statistic falls within the acceptance region:
−1.95996≤Z≤1.95996-1.95996 \le Z \le 1.95996

3. Substitute the expression for $Z$ and solve for $\bar{x}$.

−1.95996≤xˉ−35020.74/15≤1.95996-1.95996 \le \frac{\bar{x} - 350}{\sqrt{20.74 / 15}} \le 1.95996

350−1.95996(20.7415)≤xˉ≤350+1.95996(20.7415)350 - 1.95996\left(\sqrt{\frac{20.74}{15}}\right) \le \bar{x} \le 350 + 1.95996\left(\sqrt{\frac{20.74}{15}}\right)

350−2.3047≤xˉ≤350+2.3047350 - 2.3047 \le \bar{x} \le 350 + 2.3047

347.695≤xˉ≤352.305347.695 \le \bar{x} \le 352.305

Correct to one decimal place, the range is:
347.7≤xˉ≤352.3347.7 \le \bar{x} \le 352.3

Answer

347.7≤xˉ≤352.3347.7 \le \bar{x} \le 352.3

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

  1. 1The owner of Eng Choo Farm claims that the eggs produced at his farm has an average cholesterol content of μ0\mu_0 mg pe…
  2. 2A study1^1 found that students at the National University of Singapore and the Nanyang Technological University sleep a…
  3. 3A bakery claims that the mass of a cake, on average, is 600 grams each. A random sample of 10 cakes is examined and the…
  4. 4Mr Dough's factory produces packets of flour for sale in local supermarkets packed in 2 sizes -- Regular-sized packets a…
  5. 5Researchers at University S claimed that Fungus A, a strain of fungi that is typically found in soil and plants, was a…