某巧克力制造公司生产巧克力棒。巧克力棒的包装上注明每根巧克力棒的质量为 200 克。 生产经理收到投诉称巧克力棒的质量被夸大了,他想要进行一次假设检验。

  1. ((i))

    解释经理应该进行单侧检验还是双侧检验。为该检验写出适当的假设,并定义你使用的所有符号。

  2. ((ii))

    随机抽取的 30 根巧克力棒的质量 xx(以克为单位)汇总如下。

    $n = 30 \qquad \sum(x-200) = -54 \qquad \sum(x-200)^2 = 550

    计算巧克力棒质量的总体均值和总体方差的无偏估计。

  3. ((iii))

    在 1% 的显著性水平下进行该检验。

  4. ((iv))

    公司更换了所有生产巧克力棒的机器。机器供应商声称每根巧克力棒的质量将服从均值为 200 克、标准差为 2 克的正态分布。

    经理随机抽取了 nn 根巧克力棒,发现样本均值质量为 199.2 克。在 5% 的显著性水平下进行检验,以确定巧克力棒的平均质量是否确实为 200 克。已知原假设未被拒绝,求 nn 的最大值。

先不看答案,让 AI 诊断你卡在哪里?

它不会直接告诉你答案,而是问你卡在哪一步看看 AI 是怎么陪你一步步弄懂这道题的

完整解法

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 200 g200\text{ g}. 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 μ\mu be the population mean mass of the chocolate bars in grams.

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

答案

A 1-tail test should be used.
Let μ\mu be the population mean mass of the chocolate bars in grams.
H0:μ=200H_0: \mu = 200
H1:μ<200H_1: \mu < 200

12((ii))

1. Calculate the unbiased estimate of the population mean.

xˉ=a+∑(x−a)n\bar{x} = a + \frac{\sum(x-a)}{n}
xˉ=200+−5430=200−1.8=198.2\bar{x} = 200 + \frac{-54}{30} = 200 - 1.8 = 198.2

2. Calculate the unbiased estimate of the population variance.

s2=1n−1(∑(x−a)2−(∑(x−a))2n)s^2 = \frac{1}{n-1} \left( \sum(x-a)^2 - \frac{(\sum(x-a))^2}{n} \right)
s2=130−1(550−(−54)230)s^2 = \frac{1}{30-1} \left( 550 - \frac{(-54)^2}{30} \right)
s2=129(550−291630)s^2 = \frac{1}{29} \left( 550 - \frac{2916}{30} \right)
s2=129(550−97.2)s^2 = \frac{1}{29} ( 550 - 97.2 )
s2=452.829≈15.614≈15.6 (to 3 s.f.)s^2 = \frac{452.8}{29} \approx 15.614 \approx 15.6 \text{ (to 3 s.f.)}

答案

Mean =198.2= 198.2, Variance =15.6= 15.6 (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 H0:μ=200H_0: \mu = 200 against H1:μ<200H_1: \mu < 200, with xˉ=198.2\bar{x} = 198.2 and s2=2264145≈15.614s^2 = \frac{2264}{145} \approx 15.614.

Since n=30n = 30 is large, we use a ZZ-test. Under H0H_0, the test statistic is:
z=xˉ−μ0s2/n=198.2−20015.613830≈−2.495z = \frac{\bar{x} - \mu_0}{\sqrt{s^2 / n}} = \frac{198.2 - 200}{\sqrt{\frac{15.6138}{30}}} \approx -2.495

Using a graphing calculator,
p-value=0.00630 (to 3 s.f.)p\text{-value} = 0.00630 \text{ (to 3 s.f.)}

2. Compare the $p$-value to the significance level and state the conclusion in context.

Level of significance, α=0.01\alpha = 0.01.

Since p-value=0.00630<0.01p\text{-value} = 0.00630 < 0.01, we reject H0H_0.

There is sufficient evidence at the 1% level of significance to conclude that the mean mass of the chocolate bars is less than 200 g200\text{ g} (i.e. the manager's complaints that the mass is overstated are justified).

答案

Since the pp-value (0.006300.00630) is less than 0.010.01, reject H0H_0. 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 μ\mu be the population mean mass in grams.
H0:μ=200H_0: \mu = 200
H1:μ≠200H_1: \mu \neq 200
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 (α=0.05\alpha = 0.05).
The critical zz-values are ±1.95996\pm 1.95996.

2. Set up the inequality for the non-rejection of the null hypothesis.

Under H0H_0, the test statistic is Z=Xˉ−μσ/nZ = \frac{\bar{X} - \mu}{\sigma/\sqrt{n}}.
For H0H_0 to not be rejected, the test statistic must fall inside the non-rejection region (between the critical values). Given xˉ=199.2<200\bar{x} = 199.2 < 200, we consider the lower tail limit:
Zstat≥−1.95996Z_{\text{stat}} \ge -1.95996
199.2−2002/n≥−1.95996\frac{199.2 - 200}{2 / \sqrt{n}} \ge -1.95996

3. Solve the inequality for $n$.

−0.82/n≥−1.95996\frac{-0.8}{2/\sqrt{n}} \ge -1.95996
−0.4n≥−1.95996-0.4\sqrt{n} \ge -1.95996
n≤−1.95996−0.4\sqrt{n} \le \frac{-1.95996}{-0.4}
n≤4.8999\sqrt{n} \le 4.8999
n≤24.009n \le 24.009

4. Determine the maximum integer value for $n$.

Since the sample size nn must be an integer, the maximum possible value is 24.

答案

n=24n = 24

AI 分析,可能出错

用 AI 批改,圈出写错的那一步,并自动将你的薄弱点存入错题本,形成你的错因库。

同一知识点的其他题

  1. 1一位营养学家声称,每根能量棒的平均卡路里含量为 350 cal。该营养学家收集并测量了 15 根能量棒的随机样本的卡路里含量。样本均值和方差分别为 347.2 cal 和 20.74 cal2\text{cal}^2。 该营养学家希望对其声称进…
  2. 2永初农场(Eng Choo Farm)的业主声称,其农场生产的鸡蛋平均每只含有 μ0\mu_0 毫克的胆固醇。 健康促进局从该农场随机抽取了 16 只鸡蛋,并测量了每只鸡蛋的胆固醇含量 xx 毫克。结果汇总如下: ∑x=2848\sum x = 2848…
  3. 3一项研究1^1表明,新加坡国立大学和南洋理工大学的学生平均每天睡眠 6.2 小时。安迪(Andy)调查了来自 SS 大学的 50 名学生,以估计每个人的每日睡眠时间。样本均值为 tˉ\bar{t} 小时,样本标准差为 2.2 小时。现在…
  4. 4一家面包店声称每个蛋糕的平均质量为 600 克。对 10 个蛋糕进行了随机抽样检验,并确定了每个蛋糕的质量 xx 克。结果发现: ∑(x−500)=800and∑(x−500)2=65764.\sum(x-500)=800\quad\text{and}\quad\sum(x-500)^2=65764.…
  5. 5道格先生的工厂生产在当地超市销售的袋装面粉,包装分为两种规格——普通装和大装。自动机器进行称重和包装。最近一次严重的停电导致他所有的机器在重新启动时都需要重新校准。 普通装袋装面粉的平均质量应该是 1 kg。道格先生怀疑他的机器现在包装的普…