Energy bars are a convenient source of nutrition for athletes. A typical energy bar weighs between 30-50 g and is likely to supply about 200-300 calories. An American company sells energy bars and a nutritionist working in the company claims that the mean number of calories in a product, Perfect Protein bars, is 350 calories. A random sample of 30 bars is collected and the number of calories, xx cal, in the 30 bars is summarised as follows. ∑x=10446,  ∑x2=3638000.\sum x = 10446, \; \sum x^2 = 3638000.

  1. ((i))

    Test at the 3% level of significance whether the mean number of calories in Perfect Protein bars is less than 350 calories, defining any symbols that you use.

  2. ((ii))

    Explain why the test would be inadmissible if the nutritionist had taken a random sample of 15 energy bars and hence state an assumption needed for him to carry out the test.

  3. ((iii))

    If the test was for whether the mean number of calories in Perfect Protein bars is 350 calories, find the smallest level of significance for which the nutritionist's claim will be rejected.

  4. ((iv))

    The company launched a new product called Dynamic Protein bars which are advertised to be higher in calories than Perfect Protein bars. A random sample of 45 Dynamic Protein bars is collected to test this and the mean number of calories of the sample is found to be 352.2.

    The result of this investigation shows that there is no reason to believe that the mean number of calories in the new product is more than 350 calories at the 4% level of significance. Find the range of possible values of the variance used in calculating the test statistic.

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

11((i))

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

Let μ\mu be the population mean number of calories in a Perfect Protein bar.

H0:μ=350H_0: \mu = 350
H1:μ<350H_1: \mu < 350

2. Calculate the sample mean and the unbiased estimate of the population variance.

Sample mean, xˉ=∑xn=1044630=348.2\bar{x} = \frac{\sum x}{n} = \frac{10446}{30} = 348.2

Unbiased estimate of population variance, s2=1n−1(∑x2−(∑x)2n)s^2 = \frac{1}{n-1}\left(\sum x^2 - \frac{(\sum x)^2}{n}\right)
s2=129(3638000−10446230)s^2 = \frac{1}{29}\left(3638000 - \frac{10446^2}{30}\right)
s2=702.829≈24.234s^2 = \frac{702.8}{29} \approx 24.234 (5 s.f.)

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

Since n=30n = 30 is sufficiently large, by the Central Limit Theorem, the sample mean Xˉ\bar{X} is approximately normally distributed.
Under H0H_0, the test statistic is Z=Xˉ−350s/30∼N(0,1)Z = \frac{\bar{X} - 350}{s / \sqrt{30}} \sim N(0, 1) approximately.

Using a graphing calculator with μ0=350\mu_0 = 350, xˉ=348.2\bar{x} = 348.2, sx=24.234s_x = \sqrt{24.234}, and n=30n = 30:
p-value=0.022604≈0.0226p\text{-value} = 0.022604 \approx 0.0226 (3 s.f.)

4. Compare the $p$-value with the level of significance and state the conclusion in context.

Since the pp-value (0.02260.0226) is less than the level of significance (α=0.03\alpha = 0.03), we reject H0H_0.
There is sufficient evidence at the 3%3\% level of significance to conclude that the mean number of calories in Perfect Protein bars is less than 350350 calories.

Answer

Reject H0H_0. There is sufficient evidence at the 3% level of significance to conclude that the mean number of calories in Perfect Protein bars is less than 350 calories.

11((ii))

1. Explain why the test is inadmissible for a small sample size without further assumptions.

Since the sample size of 1515 is small (<30<30) and the population distribution of the number of calories is unknown, the Central Limit Theorem cannot be applied to assume that the sample mean is normally distributed.

2. State the assumption required to proceed with the test.

It must be assumed that the number of calories in the Perfect Protein bars is normally distributed.

Answer

Since the sample size n=15n=15 is small (<30<30) and the distribution of the number of calories is unknown, the Central Limit Theorem cannot be applied to assume that the sample mean follows a normal distribution.

Assumption: The number of calories in Perfect Protein bars follows a normal distribution.

11((iii))

1. Calculate the sample mean and the unbiased estimate of the population variance (from part i).

xˉ=∑xn=1044630=348.2\bar{x} = \frac{\sum x}{n} = \frac{10446}{30} = 348.2

s2=1n−1(∑x2−(∑x)2n)s^2 = \frac{1}{n-1} \left( \sum x^2 - \frac{(\sum x)^2}{n} \right)
s2=129(3638000−10446230)=702.829≈24.2345s^2 = \frac{1}{29} \left( 3638000 - \frac{10446^2}{30} \right) = \frac{702.8}{29} \approx 24.2345

2. Calculate the test statistic using the Central Limit Theorem.

Under the null hypothesis H0:μ=350H_0: \mu = 350, we use a ZZ-test since the sample size n=30n = 30 is sufficiently large.

z=xˉ−μs2/n=348.2−35024.2345/30≈−2.0027z = \frac{\bar{x} - \mu}{\sqrt{s^2 / n}} = \frac{348.2 - 350}{\sqrt{24.2345 / 30}} \approx -2.0027

3. Identify the test as 2-tailed and compute the $p$-value.

The test is for whether the mean is 350350 calories, meaning H1:μ≠350H_1: \mu \neq 350. This makes it a 2-tailed test.

p-value=2×P(Z<−2.0027)=2×0.022604≈0.045208p\text{-value} = 2 \times \mathrm{P}(Z < -2.0027) = 2 \times 0.022604 \approx 0.045208

4. State the smallest level of significance for which the claim will be rejected.

The nutritionist's claim (H0H_0) is rejected if the level of significance is at least the pp-value.
Smallest level of significance =0.0452 or 4.52% (to 3 s.f.)= 0.0452 \text{ or } 4.52\% \text{ (to 3 s.f.)}

Answer

4.52%4.52\% (or 0.04520.0452)

11((iv))

1. State the hypotheses and the condition for the null hypothesis not to be rejected.

Let μ\mu be the population mean number of calories of Dynamic Protein bars.
H0:μ=350H_0: \mu = 350
H1:μ>350H_1: \mu > 350
Since there is no reason to believe μ>350\mu > 350, H0H_0 is not rejected at the 4%4\% level of significance. This means the test statistic zz must be less than or equal to the critical value.

2. Find the critical value and set up the inequality involving the unknown variance.

For a 4%4\% right-tailed test, the critical value is z0.04≈1.750686z_{0.04} \approx 1.750686.
Let vv be the variance used in the calculation. The test statistic is given by z=xˉ−μvnz = \frac{\bar{x} - \mu}{\sqrt{\frac{v}{n}}}.
352.2−350v45≤1.750686\frac{352.2 - 350}{\sqrt{\frac{v}{45}}} \le 1.750686

3. Solve the inequality to find the range of values for $v$.

2.2v45≤1.750686\frac{2.2}{\sqrt{\frac{v}{45}}} \le 1.750686
Since v>0v > 0, we can rearrange the inequality:
v45≥2.21.750686\sqrt{\frac{v}{45}} \ge \frac{2.2}{1.750686}
v45≥1.25665\sqrt{\frac{v}{45}} \ge 1.25665
v45≥1.57917\frac{v}{45} \ge 1.57917
v≥71.063v \ge 71.063
v≥71.1 (to 3 s.f.)v \ge 71.1 \text{ (to 3 s.f.)}

Answer

v≥71.1v \ge 71.1

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. 1A nutritionist claims that the mean number of calories in an energy bar is 350 cal. The nutritionist collected and measu…
  2. 2The owner of Eng Choo Farm claims that the eggs produced at his farm has an average cholesterol content of μ0\mu_0 mg pe…
  3. 3A study1^1 found that students at the National University of Singapore and the Nanyang Technological University sleep a…
  4. 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…
  5. 5Mr Dough's factory produces packets of flour for sale in local supermarkets packed in 2 sizes -- Regular-sized packets a…