Unit 9: Solutions单元 9:详解
Testing a Claim检验一个说法
All datasets, sample statistics and study scenarios here are synthetic illustrative teaching examples. They are not reports of actual research. Choose the most defensible statistical statement and justify free responses in context.本页全部数据、样本统计量与研究情景均为合成教学示例,不是真实研究报告。选择最有统计依据的陈述,简答应结合情景论证。
Part I: Multiple Choice Solutions第一部分:选择题详解
Reasoning推理1 point1 分
The data are one yes/no variable from one sample, so the procedure is a one-proportion $z$ test. The null hypothesis names the claimed value of the parameter with an equals sign, $H_0:p=0.40$. The reporter suspects the percentage is lower, and that suspicion is stated before any data are seen, so the alternative is one-sided: $H_a:p\lt0.40$.数据是一个样本中的一个“是/否”变量,所以程序是单比例 $z$ 检验。原假设(null hypothesis)用等号写出所声称的参数值,$H_0:p=0.40$。记者怀疑比例更低,这一怀疑在看数据之前就已提出,所以备择假设(alternative hypothesis)是单侧(one-sided)的:$H_a:p\lt0.40$。
- Writes the hypotheses about the sample proportion $\hat p$. A sample proportion is observed, not unknown; hypotheses are about the population proportion $p$.把假设写成关于样本比例 $\hat p$。样本比例是观察到的,不是未知的;假设应针对总体比例 $p$。
- Uses a two-sided alternative although the question points in one direction. The direction comes from the research question, so "lower" gives $p\lt0.40$.题目指向一个方向,却用了双侧备择假设。方向来自研究问题,“更低”对应 $p\lt0.40$。
- Correct: a parameter in both hypotheses, equals sign in $H_0$, direction taken from the reporter's suspicion.正确:两个假设都针对参数,$H_0$ 含等号,方向取自记者的怀疑。
- Puts an inequality in $H_0$. The null hypothesis always states one value of the parameter with an equals sign, because the test works in a world where $p=0.40$.在 $H_0$ 中使用了不等号。原假设总是用等号给出参数的一个取值,因为检验是在 $p=0.40$ 的世界里进行的。
Reasoning推理1 point1 分
A one-proportion $z$ test needs a random sample, the 10% condition when sampling without replacement (given here), and large counts evaluated at the hypothesized proportion: $np_0=150(0.30)=45$ and $n(1-p_0)=150(0.70)=105$, both at least 10. The test works in a world where $H_0$ is true, so $p_0$ drives both the standard error and the counts check.单比例 $z$ 检验需要随机样本、不放回抽样时的 10% 条件(此处已给出),以及用假设比例计算的大计数(large counts):$np_0=150(0.30)=45$ 与 $n(1-p_0)=150(0.70)=105$,都至少为 10。检验在 $H_0$ 为真的世界里进行,所以标准误(standard error)和计数检查都由 $p_0$ 决定。
- Checks the counts with $\hat p$, which is the rule for an interval. For a test the hypothesized value governs the sampling distribution, so the counts use $p_0$ (the guide's example of 9 defective parts in a sample shows why).用 $\hat p$ 检查计数,这是区间的规则。检验中由假设值决定抽样分布,所以计数用 $p_0$(讲义中样本只有 9 件次品的例子说明了原因)。
- Correct: random sample, with counts computed from $p_0=0.30$.正确:随机样本,计数由 $p_0=0.30$ 算出。
- Asks for a normal population. The normal model applies to the sampling distribution of $\hat p$, not to the yes/no responses, which cannot be normal.要求总体正态。正态模型适用于 $\hat p$ 的抽样分布,而不是“是/否”回答,后者不可能是正态的。
- Carries over the $n\ge30$ rule for means. Proportions need counts of successes and failures, not a bare sample size.把均值的 $n\ge30$ 规则搬了过来。比例需要成功数与失败数的计数,而不是单纯的样本容量。
large counts)条件成立?Reasoning推理1 point1 分
Both expected counts must be at least 10. Expected successes: $60p_0\ge10$ gives $p_0\ge\tfrac{10}{60}=\tfrac16$. Expected failures: $60(1-p_0)\ge10$ gives $1-p_0\ge\tfrac16$, so $p_0\le\tfrac56$. Both inequalities must hold together.两个预期计数都必须至少为 10。预期成功数:$60p_0\ge10$ 得 $p_0\ge\tfrac{10}{60}=\tfrac16$。预期失败数:$60(1-p_0)\ge10$ 得 $1-p_0\ge\tfrac16$,即 $p_0\le\tfrac56$。两个不等式需同时成立。
- Treats the 10 in "at least 10" as 10% of the probability scale. The threshold is a count, so it is divided by $n=60$, not by 100.把“至少 10”中的 10 当成概率尺度上的 10%。阈值是计数,应除以 $n=60$,而不是除以 100。
- Solves only $60p_0\ge10$. Expected failures $60(1-p_0)$ must also be at least 10, which caps $p_0$ at $\tfrac56$.只解了 $60p_0\ge10$。预期失败数 $60(1-p_0)$ 也必须至少为 10,这把 $p_0$ 限制在 $\tfrac56$ 以内。
- Requires only 1 expected success and 1 expected failure ($60p_0\ge1$), a threshold of 1 instead of 10.只要求 1 个预期成功和 1 个预期失败($60p_0\ge1$),阈值是 1 而不是 10。
- Correct: solves both inequalities, $60p_0\ge10$ and $60(1-p_0)\ge10$.正确:解出两个不等式 $60p_0\ge10$ 与 $60(1-p_0)\ge10$。
test statistic) $z=1.90$。p 值(p-value)是多少?Reasoning推理1 point1 分
The alternative $p\gt p_0$ is right-tailed, so the p-value is the area to the right of 1.90: $P(Z\ge1.90)=1-0.9713=0.0287$ (normalcdf(1.90,1E99)). It is the probability, assuming $H_0$ is true, of a result at least this large.备择假设(alternative hypothesis) $p\gt p_0$ 是右尾的,所以 p 值是 1.90 右侧的面积:$P(Z\ge1.90)=1-0.9713=0.0287$(normalcdf(1.90,1E99))。它是假定 $H_0$ 为真时,得到至少这么大的结果的概率。
- Correct: the upper-tail area beyond 1.90.正确:1.90 右侧的上尾面积。
- Doubles the tail, $2(0.0287)=0.0574$. Doubling is for a two-sided alternative; this one is right-tailed.把尾部面积加倍,$2(0.0287)=0.0574$。加倍适用于双侧备择假设;这里是右尾。
- Reports the area to the left of 1.90, $P(Z\lt1.90)=0.9713$: the complement of the tail, not the tail.给出的是 1.90 左侧的面积 $P(Z\lt1.90)=0.9713$:是尾部的补集,不是尾部。
- Halves the tail, $0.0287/2=0.0144$. No rule divides a one-sided area by two.把尾部面积减半,$0.0287/2=0.0144$。没有任何规则把单侧面积除以二。
███████
███████████
███████████████
█████████████████████
█████████████████████████████
───────────────────────────────────▒▒▒▒▒▒
-3 0 2.10 3
▒ shaded: everything right of z = 2.10What is the p-value of the test? ███████
███████████
███████████████
█████████████████████
█████████████████████████████
───────────────────────────────────▒▒▒▒▒▒
-3 0 2.10 3
▒ 阴影:z = 2.10 右侧的全部区域该检验的 p 值(p-value)是多少?Reasoning推理1 point1 分
The shaded region is the upper tail beyond $z=2.10$, and the p-value is the shaded area: $P(Z\gt2.10)=1-0.9821=0.0179$. Only one tail is shaded, which matches the right-tailed alternative.阴影部分是 $z=2.10$ 之外的上尾,p 值就是阴影面积:$P(Z\gt2.10)=1-0.9821=0.0179$。只有一侧涂了阴影,与右尾备择假设(alternative hypothesis)一致。
- Doubles the shaded area, $2(0.0179)=0.0357$. The graph shades one tail, so doubling is not supported.把阴影面积加倍,$2(0.0179)=0.0357$。图中只涂了一侧,加倍没有依据。
- Reports the unshaded area to the left of 2.10, $0.9821$, instead of the shaded tail.给出的是 2.10 左侧未涂阴影的面积 $0.9821$,而不是阴影的尾部。
- Correct: reads the shaded upper tail beyond 2.10.正确:读出 2.10 右侧涂阴影的上尾。
- Halves the shaded area, $0.0179/2\approx0.0089$, a region no test defines.把阴影面积减半,$0.0179/2\approx0.0089$,这是任何检验都不会定义的区域。
p-value)约 $0.036$。下列哪项是对 p 值的正确解释?Reasoning推理1 point1 分
A full interpretation has four pieces: the assumption ($p=0.25$), the statistic and its direction (a sample proportion of 0.305 or higher), the sample and context (a random sample of 200 students), and the probability (about 0.036). The alternative is right-tailed, so "at least as extreme" means 0.305 or higher.完整的解释包含四部分:前提($p=0.25$)、统计量及其方向(样本比例 0.305 或更高)、样本与情境(随机抽取 200 名学生)和概率(约 0.036)。备择假设(alternative hypothesis)是右尾的,所以“至少一样极端”指 0.305 或更高。
- Treats the p-value as the probability that $H_0$ is true. The p-value is computed assuming $H_0$ is true and cannot be a probability of $H_0$.把 p 值当成 $H_0$ 为真的概率。p 值是假定 $H_0$ 为真时算出的,不可能是 $H_0$ 的概率。
- Asks for exactly 0.305. A p-value covers results at least as extreme as the one observed, not the single value observed.要求恰好为 0.305。p 值涵盖至少与观察结果一样极端的结果,而不是观察到的那一个值。
- Swaps the assumed value and the observed value, assuming $p=0.305$ and asking about 0.25 or lower. The assumed value is $p_0=0.25$, and the observed 0.305 is the data.把假定值与观察值对调,假定 $p=0.305$ 而去问 0.25 或更低。假定值是 $p_0=0.25$,观察到的 0.305 是数据。
- Correct: assumption, direction, sample and probability are all present.正确:前提、方向、样本和概率俱全。
███████
███████████
███████████████
█████████████████████
▒▒█████████████████████████▒▒
▒▒▒▒▒▒▒▒─────────────────────────▒▒▒▒▒▒▒▒
-3 -1.80 0 1.80 3
▒ shaded: both tails, |z| at least 1.80Which statement about the graph is correct? ███████
███████████
███████████████
█████████████████████
▒▒█████████████████████████▒▒
▒▒▒▒▒▒▒▒─────────────────────────▒▒▒▒▒▒▒▒
-3 -1.80 0 1.80 3
▒ 阴影:两侧尾部,|z| 至少为 1.80关于这张图,哪个陈述正确?Reasoning推理1 point1 分
The alternative $p\ne0.60$ is two-sided, so results at least as extreme include both tails: $2P(Z\le-1.80)=2(0.0359)\approx0.072$. That shaded area is the p-value, a probability computed assuming $H_0$ is true.备择假设(alternative hypothesis) $p\ne0.60$ 是双侧(two-sided)的,所以至少一样极端的结果包括两个尾部:$2P(Z\le-1.80)=2(0.0359)\approx0.072$。该阴影面积就是 p 值(p-value),是假定 $H_0$ 为真时算出的概率。
- Correct: the two tails together are the p-value for a two-sided alternative.正确:对双侧备择假设,两个尾部合起来是 p 值。
- Reads the area as the probability of $H_0$. The area is a probability about the data, computed assuming $H_0$ is true.把面积读成 $H_0$ 的概率。该面积是关于数据的概率,是假定 $H_0$ 为真时算出的。
- Mixes up the p-value with $\alpha$. The significance level $\alpha$ is chosen before the data; the p-value comes from the data.把 p 值与 $\alpha$ 混淆。显著性水平 $\alpha$ 在看数据之前选定;p 值来自数据。
- Uses one tail because the sign of $z$ is negative. With $H_a:p\ne0.60$ the direction does not matter, so both tails count: $0.036\times2$.因为 $z$ 为负就只用一个尾部。$H_a:p\ne0.60$ 时方向无关紧要,两个尾部都算:$0.036\times2$。
| Sample A | Sample B | Sample C | |
|---|---|---|---|
| Sample size $n$ | 100 | 100 | 100 |
| Sample proportion $\hat p$ | 0.58 | 0.64 | 0.55 |
significance level)检验 $H_0:p=0.50$ 对 $H_a:p\gt0.50$,其中 $p$ 为全体顾客中喜欢新配方的比例(合成数据)。| 样本 A | 样本 B | 样本 C | |
|---|---|---|---|
| 样本容量 $n$ | 100 | 100 | 100 |
| 样本比例 $\hat p$ | 0.58 | 0.64 | 0.55 |
p-value),哪个排列按从小到大的顺序排列了它们?Reasoning推理1 point1 分
With the same $n$ and $p_0$, a sample proportion farther above 0.50 gives a larger $z$ and a smaller right-tail p-value. The proportions order as $0.64\gt0.58\gt0.55$, so the p-values order as B, then A, then C.在 $n$ 和 $p_0$ 相同时,样本比例比 0.50 高得越多,$z$ 越大,右尾 p 值越小。比例的顺序是 $0.64\gt0.58\gt0.55$,所以 p 值的顺序是 B、A、C。
- Reverses the order: it treats the least extreme sample as the most surprising. A small p-value means a result far in the direction of $H_a$.顺序颠倒:把最不极端的样本当成最令人意外的。p 值小意味着结果沿 $H_a$ 方向离得很远。
- Correct: B is the most extreme result, so it has the smallest p-value.正确:B 是最极端的结果,所以 p 值最小。
- Lists the samples in the order given, matching the table's labels rather than the strength of evidence.按表中给出的顺序列出,对应的是表格标签,而不是证据的强弱。
- Equal $n$ and $p_0$ do not make the p-values equal: the test statistic also depends on $\hat p$, which differs.$n$ 和 $p_0$ 相同并不使 p 值相等:检验统计量还取决于不同的 $\hat p$。
p-value)为 $0.03$,并写道:“原假设(null hypothesis)为真的可能性是 3%。”哪个陈述指出了其中的错误?Reasoning推理1 point1 分
The p-value answers "how unusual is this result if $H_0$ were true?", so it is computed under the null. In this framework $H_0$ is either true or false and has no probability, so a p-value of $0.03$ cannot mean a 3% chance that $H_0$ is true.p 值回答的是“若 $H_0$ 为真,这个结果有多罕见?”,所以它是在原假设下算出的。在这个框架里 $H_0$ 要么为真要么为假,没有概率,所以 p 值 $0.03$ 不可能表示 $H_0$ 为真的可能性是 3%。
- Keeps the student's idea that the p-value is a probability about $H_0$ and only flips it to its complement. A p-value is not a probability of $H_0$ in either direction, so $97\%$ is as wrong as $3\%$.保留了学生“p 值是关于 $H_0$ 的概率”的想法,只是取了补集。p 值无论哪个方向都不是 $H_0$ 的概率,所以 $97\%$ 与 $3\%$ 同样是错的。
- Confuses the p-value with the significance level. The probability of a Type I error is $\alpha$, chosen before the data; the p-value is computed from the data, assuming $H_0$ is true.把 p 值与显著性水平混淆。第一类错误的概率是 $\alpha$,在看数据之前选定;p 值则是假定 $H_0$ 为真、由数据算出的。
- Replaces one wrong reading with another: the p-value is about results at least as extreme as observed, not about the sample mean equalling the null value.用另一种错误读法代替原来的错误:p 值针对至少与观察结果一样极端的结果,而不是样本均值等于原假设取值。
- Correct: the p-value conditions on $H_0$; it does not give the probability of $H_0$.正确:p 值以 $H_0$ 为前提;它并不给出 $H_0$ 的概率。
| Flavor | Vanilla | Chocolate | Other |
|---|---|---|---|
| Customers | 36 | 70 | 44 |
| 口味 | 香草 | 巧克力 | 其他 |
|---|---|---|---|
| 顾客数 | 36 | 70 | 44 |
p-value)是多少?Reasoning推理1 point1 分
$\hat p=36/150=0.24$. The standard error uses $p_0$: $\sqrt{0.30(0.70)/150}=0.0374$, so $z=(0.24-0.30)/0.0374\approx-1.60$. The alternative is two-sided: $p\text{-value}=2P(Z\le-1.60)=2(0.0548)\approx0.110$ (1-PropZTest with $p_0=0.30$, $x=36$, $n=150$, $\ne p_0$).$\hat p=36/150=0.24$。标准误(standard error)使用 $p_0$:$\sqrt{0.30(0.70)/150}=0.0374$,所以 $z=(0.24-0.30)/0.0374\approx-1.60$。备择假设(alternative hypothesis)是双侧(two-sided)的:p 值 $=2P(Z\le-1.60)=2(0.0548)\approx0.110$(1-PropZTest,$p_0=0.30$,$x=36$,$n=150$,$\ne p_0$)。
- Forgets to double: $P(Z\le-1.60)=0.055$ is one tail, but the alternative is $p\ne0.30$.忘记加倍:$P(Z\le-1.60)=0.055$ 只是一个尾部,而备择假设是 $p\ne0.30$。
- Puts $\hat p$ in the standard error, $\sqrt{0.24(0.76)/150}=0.0349$, giving $z\approx-1.72$ and $2P(Z\le-1.72)=0.085$. A test uses $p_0$.标准误中用 $\hat p$,$\sqrt{0.24(0.76)/150}=0.0349$,得 $z\approx-1.72$ 和 $2P(Z\le-1.72)=0.085$。检验应使用 $p_0$。
- Correct: $p_0$ in the standard error, then both tails.正确:标准误用 $p_0$,然后取两个尾部。
- Reports $1-0.110=0.890$, the probability of results less extreme than the sample, not at least as extreme.给出 $1-0.110=0.890$,这是比样本不极端的结果的概率,而不是至少一样极端的概率。
Reasoning推理1 point1 分
In a significance test the standard error is built from the hypothesized proportion: $\sqrt{0.55(0.45)/100}\approx0.0497$, so $z=0.09/0.0497\approx1.81$. The sample proportion $0.64$ belongs only in the numerator.在显著性检验中,标准误(standard error)由假设比例构成:$\sqrt{0.55(0.45)/100}\approx0.0497$,所以 $z=0.09/0.0497\approx1.81$。样本比例 $0.64$ 只出现在分子中。
- Uses $\hat p=0.64$ in the standard error ($0.048$), which is the interval formula and inflates $z$ to $1.88$.标准误中用了 $\hat p=0.64$($0.048$),这是区间的公式,会把 $z$ 抬高到 $1.88$。
- Correct: the test uses $p_0=0.55$ in the standard error.正确:检验在标准误中使用 $p_0=0.55$。
- Uses $0.50$, a value that neither the null hypothesis nor the data proposed (the "worst-case" $p^*$ belongs to sample-size planning).使用了 $0.50$,既不是原假设也不是数据给出的值(“最保守”的 $p^*$ 属于样本容量的计划)。
- Puts the count of successes, 64, where the sample size 100 belongs, shrinking the denominator and distorting $z$ to $1.45$.把成功数 64 放在应放样本容量 100 的位置,分母变小,使 $z$ 被扭曲成 $1.45$。
Type I error)只可能在 $H_0$ 为真时发生。II. 对固定的 $p$ 备择取值和固定的显著性水平(significance level),增大样本容量会使第二类错误(Type II error)更不容易发生。III. 不拒绝(fail to reject) $H_0$ 就证明 $H_0$ 为真。哪些陈述一定为真?Reasoning推理1 point1 分
A Type I error is rejecting a true null hypothesis, so it requires $H_0$ to be true: statement I holds. A Type II error is failing to reject a false null; a larger sample makes a real difference easier to detect, which raises power and lowers the Type II error probability: statement II holds. Failing to reject says only that the evidence was not convincing, so III is false.第一类错误是拒绝了真的原假设(null hypothesis),所以它要求 $H_0$ 为真:陈述 I 成立。第二类错误是没有拒绝为假的原假设;更大的样本使真实差异更容易被检出,功效(power)提高,第二类错误的概率降低:陈述 II 成立。不拒绝只说明证据不够令人信服,所以 III 为假。
- Correct: I and II follow from the definitions; III overstates a failure to reject.正确:I 和 II 由定义得出;III 夸大了“不拒绝”的含义。
- Misses II. With a fixed alternative and fixed $\alpha$, more data raise power, so a Type II error becomes less likely.漏掉了 II。备择取值与 $\alpha$ 固定时,更多数据会提高功效,第二类错误更不容易发生。
- Drops I and keeps III. A Type I error needs a true null to reject, and III confuses "not enough evidence" with proof.丢掉 I 却保留 III。第一类错误需要一个为真的原假设被拒绝,而 III 把“证据不足”误当成证明。
- Includes III together with the two true statements; failing to reject never proves the null, because nearby values of $p$ are also consistent with the data.把 III 与两个真陈述放在一起;不拒绝从不证明原假设,因为附近的 $p$ 值也与数据相符。
Type II error)?Reasoning推理1 point1 分
A Type II error is failing to reject $H_0$ when $H_0$ is actually false. Here $H_0$ is false when the late-trip proportion really is below 0.12, so the error is finding no convincing evidence of improvement although the improvement is real. A consequence: the office might drop an effective scheduling system.第二类错误是在 $H_0$ 实际为假时没有拒绝 $H_0$。这里 $H_0$ 为假,意味着晚点比例确实低于 0.12,所以该错误是:改进是真实的,却没有找到令人信服的证据。后果:交通局可能放弃一个有效的排班系统。
- Describes a Type I error: rejecting a true null. The two errors are reversed.描述的是第一类错误:拒绝了真的原假设。两类错误被颠倒了。
- Describes a Type I error with the direction reversed: it rejects a true $H_0$, but in the wrong direction, and the alternative here is $p\lt0.12$, so this test could not even reach that conclusion.描述的是方向颠倒的第一类错误:它拒绝了真的 $H_0$,但方向错了,而这里的备择假设是 $p\lt0.12$,该检验根本得不出这个结论。
- Mixes up the direction of the truth and the conclusion. Both are wrong, but a Type II error is a failure to reject, not a conclusion in the opposite direction.把真相与结论的方向弄混了。两者都不对,但第二类错误是“没有拒绝”,而不是方向相反的结论。
- Correct: not rejecting $H_0$ while the late-trip proportion really is below 0.12.正确:晚点比例确实低于 0.12,却没有拒绝 $H_0$。
significance level)为 $\alpha$。当真实比例是 $p_1$($p_1\gt p_0$)时,该检验的功效(power)为 $P$。不做任何计算,针对同一个 $p_1$,哪个新方案的功效一定大于 $P$?Reasoning推理1 point1 分
Power is the probability of rejecting a false $H_0$. A larger sample shrinks the standard deviation of $\hat p$, so the sampling distributions under $p_0$ and under $p_1$ overlap less, and with $\alpha$ unchanged the power must rise. The other plans either lower $\alpha$ (more Type II errors), shrink the sample, or change nothing.功效是拒绝一个为假的 $H_0$ 的概率。样本越大,$\hat p$ 的标准差越小,$p_0$ 下与 $p_1$ 下的抽样分布重叠越少;$\alpha$ 不变时功效必然上升。其他方案要么降低 $\alpha$(第二类错误(Type II error)更多),要么减小样本,要么什么都不改变。
- Lowers $\alpha$ to $\alpha/2$ with the same $n$. A stricter cut-off makes rejection harder, which raises the Type II error probability and lowers power.在 $n$ 不变时把 $\alpha$ 降到 $\alpha/2$。更严格的临界标准使拒绝更难,第二类错误的概率上升,功效下降。
- Halves the sample size with $\alpha$ fixed. A smaller sample has a wider sampling distribution, so power falls.$\alpha$ 固定而样本减半。较小的样本使抽样分布更宽,功效下降。
- Correct: more data help power with no cost to the Type I error probability.正确:更多数据提高功效,且不增加第一类错误的概率。
- Claims power depends only on the true value. Power also depends on $n$ and $\alpha$, and the researcher controls both.声称功效只取决于真实取值。功效还取决于 $n$ 和 $\alpha$,而这两者由研究者控制。
| Sample size $n$ | Power, $\alpha=0.05$ | Power, $\alpha=0.10$ |
|---|---|---|
| 50 | 0.41 | 0.55 |
| 100 | 0.64 | 0.77 |
| 200 | 0.89 | 0.94 |
| 400 | 0.99 | 1.00 |
significance level)下,检验针对备择值 $p=0.60$ 的功效(power)(合成数值)。| 样本容量 $n$ | 功效,$\alpha=0.05$ | 功效,$\alpha=0.10$ |
|---|---|---|
| 50 | 0.41 | 0.55 |
| 100 | 0.64 | 0.77 |
| 200 | 0.89 | 0.94 |
| 400 | 0.99 | 1.00 |
Type II error)的概率至多为 $0.15$,同时不让第一类错误(Type I error)的概率超过 $0.05$。哪一项单一的改变能做到这一点?Reasoning推理1 point1 分
The Type II error probability is $\beta=1-\text{power}$, and the goal is $\beta\le0.15$, that is, power at least $0.85$, with $\alpha$ staying at $0.05$. At $\alpha=0.05$ the power is $0.64$ for $n=100$ ($\beta=0.36$) and $0.89$ for $n=200$ ($\beta=0.11$), so doubling $n$ works and leaves $\alpha$ alone.第二类错误的概率是 $\beta=1-\text{power}$,目标是 $\beta\le0.15$,即功效至少为 $0.85$,且 $\alpha$ 保持 $0.05$。在 $\alpha=0.05$ 时,$n=100$ 的功效是 $0.64$($\beta=0.36$),$n=200$ 的功效是 $0.89$($\beta=0.11$),所以把 $n$ 加倍即可,并且不改变 $\alpha$。
- Correct: $\beta=1-0.89=0.11\le0.15$ with $\alpha$ unchanged.正确:$\beta=1-0.89=0.11\le0.15$,且 $\alpha$ 不变。
- Trades a higher Type I error probability for power, and still falls short: $\beta=1-0.77=0.23\gt0.15$ at $n=100$.用更高的第一类错误概率去换功效,仍然不够:$n=100$ 时 $\beta=1-0.77=0.23\gt0.15$。
- Moves both levers the wrong way for power: a smaller sample gives $\beta=1-0.55=0.45$, which a higher $\alpha$ cannot repair.两个调节量对功效都不利:样本变小得到 $\beta=1-0.55=0.45$,提高 $\alpha$ 也补不回来。
- Meets $\beta=1-0.94=0.06\le0.15$ but breaks the other requirement, because $\alpha=0.10$ lets the Type I error probability rise above $0.05$.满足 $\beta=1-0.94=0.06\le0.15$,却违背另一项要求,因为 $\alpha=0.10$ 使第一类错误的概率超过了 $0.05$。
Reasoning推理1 point1 分
The question asked is whether the mean "differs from" 500 g, which allows either direction, so $H_a:\mu\ne500$. The null hypothesis states the single claimed value, $H_0:\mu=500$, about the population mean $\mu$. The first impression of light loaves is not part of the question and must not set the direction.所问的问题是平均重量是否“不同于”500 克,允许任一方向,所以 $H_a:\mu\ne500$。原假设(null hypothesis)用单一的声称值针对总体均值 $\mu$:$H_0:\mu=500$。“面包看起来偏轻”的第一印象不是问题的一部分,不能用来决定方向。
- Writes the hypotheses about the sample mean $\bar x$, a statistic the inspector will observe; hypotheses are about the parameter $\mu$.把假设写成关于样本均值 $\bar x$,这是检查员将观察到的统计量;假设应针对参数 $\mu$。
- Chooses a one-sided alternative because of an impression from a few loaves. The direction must come from the research question, not from looking at the data.因为几个面包的印象就选了单侧备择假设。方向必须来自研究问题,而不是来自对数据的观察。
- Swaps the roles. The null hypothesis must contain the equals sign, since it names the single value being tested.角色对调了。原假设必须含等号,因为它给出被检验的那一个值。
- Correct: parameter $\mu$, equals sign in $H_0$, two-sided because the question says "differs from".正确:参数是 $\mu$,$H_0$ 含等号,因问题说“不同于”所以是双侧。
Reasoning推理1 point1 分
The conditions are random, the 10% condition, and Normal or large sample. Study B is random, $12\lt10\%$ of thousands, and its dotplot shows no strong skew or outliers, so the sampling distribution of $\bar x$ is reasonably normal. Each other study breaks exactly one condition (see the diagnoses).条件是:随机、10% 条件,以及正态或大样本。研究 B 是随机的,$12$ 小于数千的 10%,点图没有明显偏斜或离群点,所以 $\bar x$ 的抽样分布近似正态。其他每项研究恰好违反一个条件(见下面的诊断)。
- Fails the Normal or large sample condition: with $n=15$, strong skew and an extreme outlier make the $t$ procedure unreliable.不满足正态或大样本条件:$n=15$ 时,明显偏斜加上极端离群点使 $t$ 程序不可靠。
- Correct: random, under 10% of the fleet, and no strong skew or outliers in a small sample.正确:随机、不到车队的 10%,小样本中没有明显偏斜或离群点。
- Fails the random condition. A large $n=40$ cannot repair a sample of convenience, because size does not remove bias.不满足随机条件。较大的 $n=40$ 无法弥补便利样本,因为样本容量无法消除偏差。
- Fails the 10% condition: $80$ is more than 10% of $600$ (which is $60$), so independence between pumps is not reasonable.不满足 10% 条件:$80$ 超过 $600$ 的 10%(即 $60$),水泵之间的独立性不合理。
Stemplot of delivery times in minutes (n = 18) 1 | 3 4 4 5 6 6 7 8 9 2 | 0 1 2 4 5 7 3 | 1 3 4 | 5 | 6 | 7 | 8 | 8 Key: 1 | 3 = 13 minutesConsider three statements. I. Dropping the extreme value without a documented reason would be inappropriate; if it is kept, its effect on the procedure should be considered. II. Because $n=18$ is large enough, the sampling distribution of $\bar x$ is guaranteed to be approximately normal, so the extreme value can be ignored. III. The one-sample $t$ test rests on an approximately normal sampling distribution, and with an extreme value in a sample of 18 the test may be unreliable. Which statements are correct?
送货时间茎叶图(分钟,n = 18) 1 | 3 4 4 5 6 6 7 8 9 2 | 0 1 2 4 5 7 3 | 1 3 4 | 5 | 6 | 7 | 8 | 8 说明:1 | 3 = 13 分钟考虑三个陈述。I. 没有记录在案的理由就删除极端值是不恰当的;若保留它,应考虑它对程序的影响。II. 因为 $n=18$ 已足够大,$\bar x$ 的抽样分布一定近似正态,所以可以忽略极端值。III. 单样本 $t$ 检验依赖于近似正态的抽样分布,样本容量为 18 且含极端值时,检验可能不可靠。哪些陈述是正确的?
Reasoning推理1 point1 分
Statement I follows from the rule against deleting data without justification. Statement III states the condition honestly: a strong outlier in a sample of 18 casts doubt on a normal sampling distribution, so the $t$ test may be unreliable. Statement II asserts a guarantee that $n=18$ does not provide: the usual large-sample cut-off is around 30, and an extreme value pulls $\bar x$ and $s$ strongly at this size.陈述 I 来自“没有理由不得删除数据”的规则。陈述 III 如实陈述了条件:容量为 18 的样本里有极端离群点,会使正态抽样分布存疑,所以 $t$ 检验可能不可靠。陈述 II 断言了 $n=18$ 并不能提供的保证:通常的大样本界线约在 30,而在这个容量下极端值会强烈拉动 $\bar x$ 和 $s$。
- Accepts the false guarantee that $n=18$ forces normality, and so ignores a clear outlier.接受了“$n=18$ 就保证正态”的错误保证,从而忽略了明显的离群点。
- Keeps the data but denies that the outlier threatens the procedure at all, missing statement III.保留了数据,却完全否认离群点会威胁程序,漏掉了陈述 III。
- Correct: keep the data, and treat the outlier as a threat to the condition rather than as something to discard.正确:保留数据,把离群点视为对条件的威胁,而不是应丢弃的东西。
- Combines the two true statements with the false guarantee in II.把两个真陈述与 II 中的错误保证放在了一起。
| Sample size $n$ | Sample mean $\bar x$ | Sample SD $s$ |
|---|---|---|
| 25 | 10.8 | 3.0 |
| 样本容量 $n$ | 样本均值 $\bar x$ | 样本标准差 $s$ |
|---|---|---|
| 25 | 10.8 | 3.0 |
test statistic)和自由度(degrees of freedom)?Reasoning推理1 point1 分
$t=\dfrac{\bar x-\mu_0}{s/\sqrt n}=\dfrac{10.8-12}{3.0/\sqrt{25}}=\dfrac{-1.2}{0.6}=-2.00$, and $df=n-1=24$. The one-sided p-value is $P(T_{24}\le-2.00)\approx0.0285$ (T-Test with $\mu_0=12$, $\bar x=10.8$, $Sx=3.0$, $n=25$, $\lt\mu_0$).$t=\dfrac{\bar x-\mu_0}{s/\sqrt n}=\dfrac{10.8-12}{3.0/\sqrt{25}}=\dfrac{-1.2}{0.6}=-2.00$,$df=n-1=24$。单侧(one-sided) p 值(p-value)为 $P(T_{24}\le-2.00)\approx0.0285$(T-Test,$\mu_0=12$,$\bar x=10.8$,$Sx=3.0$,$n=25$,$\lt\mu_0$)。
- Correct: the standard error is $s/\sqrt n=0.6$ and $df=n-1$.正确:标准误是 $s/\sqrt n=0.6$,$df=n-1$。
- Divides by $s=3.0$ instead of the standard error $s/\sqrt n=0.6$, which is a standard deviation of individual trips, not of the sample mean: $-1.2/3.0=-0.40$.除以的是 $s=3.0$ 而不是标准误 $s/\sqrt n=0.6$,$s$ 是单次行程的标准差,不是样本均值的标准差:$-1.2/3.0=-0.40$。
- Computes $t$ correctly but uses $df=n=25$. A one-sample $t$ test has $n-1=24$ degrees of freedom.$t$ 算对了,但用了 $df=n=25$。单样本 $t$ 检验的自由度是 $n-1=24$。
- Divides by $n$ rather than $\sqrt n$: $3.0/25=0.12$ and $-1.2/0.12=-10.0$.除以 $n$ 而不是 $\sqrt n$:$3.0/25=0.12$,$-1.2/0.12=-10.0$。
test statistic)为 $t=2.40$。自由度(degrees of freedom)为 $20$ 时,$t$ 分布的上尾临界值为 $1.725$(尾部面积 $0.05$)、$2.086$($0.025$)、$2.528$($0.01$)和 $2.845$($0.005$)。该检验的 p 值(p-value)Reasoning推理1 point1 分
The alternative is right-tailed, so the p-value is the area to the right of $2.40$ in a $t$ distribution with $df=21-1=20$. Because $2.086\lt2.40\lt2.528$, the tail area lies between $0.01$ and $0.025$ (technology gives about $0.0131$). The statistic and degrees of freedom are all a table needs.备择假设(alternative hypothesis)是右尾的,所以 p 值是自由度 $df=21-1=20$ 的 $t$ 分布中 $2.40$ 右侧的面积。因为 $2.086\lt2.40\lt2.528$,尾部面积在 $0.01$ 与 $0.025$ 之间(技术计算约为 $0.0131$)。查表只需要统计量和自由度。
- Doubles the area for a one-sided alternative; doubling is only for a two-sided test.对单侧备择假设把面积加倍;加倍只适用于双侧检验。
- Correct: the one-sided area is bracketed by the two table entries on either side of $2.40$.正确:单侧面积被 $2.40$ 两侧的两个表项夹在中间。
- Misreads the table: $2.40$ is larger than $1.725$, so its tail area is smaller than $0.05$, not larger.读表错误:$2.40$ 大于 $1.725$,所以它的尾部面积小于 $0.05$,而不是更大。
- Thinks the p-value needs the original units. The standardized $t$ and $df$ already determine it.以为 p 值需要原始单位。标准化后的 $t$ 与 $df$ 已经决定了它。
test statistic) $t=1.5$,样本标准差为 $s$。哪个表达式等于 $\bar x-\mu_0$?Reasoning推理1 point1 分
The test statistic is the observed distance divided by the standard error: $t=\dfrac{\bar x-\mu_0}{s/\sqrt n}$. Solving, $\bar x-\mu_0=t\cdot\dfrac{s}{\sqrt n}=1.5\cdot\dfrac{s}{4}=0.375s$.检验统计量是观察到的差距除以标准误(standard error):$t=\dfrac{\bar x-\mu_0}{s/\sqrt n}$。解出 $\bar x-\mu_0=t\cdot\dfrac{s}{\sqrt n}=1.5\cdot\dfrac{s}{4}=0.375s$。
- Uses $s$ itself as the standard error, forgetting the division by $\sqrt n$.把 $s$ 本身当作标准误,忘了除以 $\sqrt n$。
- Divides by $n=16$ instead of $\sqrt n=4$.除以 $n=16$ 而不是 $\sqrt n=4$。
- Multiplies by $\sqrt n$ instead of dividing: $1.5s\sqrt{16}=6s$. The standard error is $s/\sqrt n$, so the statistic must be multiplied by that, not by $s\sqrt n$.乘以 $\sqrt n$ 而不是除以:$1.5s\sqrt{16}=6s$。标准误是 $s/\sqrt n$,所以应把统计量乘以它,而不是乘以 $s\sqrt n$。
- Correct: statistic times the standard error $s/\sqrt{16}$.正确:统计量乘以标准误 $s/\sqrt{16}$。
two-sided) $t$ 检验的三个陈述。I. 检验 $H_0:\mu=15$ 会拒绝 $H_0$。II. 检验 $H_0:\mu=13$ 不拒绝(fail to reject) $H_0$。III. 检验 $H_0:\mu=13$ 的 p 值(p-value)是 $0.95$。哪些陈述一定为真?Reasoning推理1 point1 分
A 95% interval gives the values of $\mu_0$ that a two-sided test at $\alpha=0.05$ would not reject. The value $15$ lies outside $(12.1,\ 14.3)$, so $H_0:\mu=15$ is rejected: I holds. The value $13$ lies inside, so $H_0:\mu=13$ is not rejected: II holds. Being inside only says the p-value exceeds $0.05$; it does not say the p-value is $0.95$, so III need not be true.95% 区间给出了在 $\alpha=0.05$ 下双侧检验不会拒绝的 $\mu_0$ 取值。$15$ 在 $(12.1,\ 14.3)$ 之外,所以拒绝 $H_0:\mu=15$:I 成立。$13$ 在区间之内,所以不拒绝 $H_0:\mu=13$:II 成立。在区间内只说明 p 值大于 $0.05$,并不说明 p 值是 $0.95$,所以 III 不一定成立。
- Misses II. A value inside the interval is not rejected by the matching two-sided test.漏掉 II。区间内的值不会被对应的双侧检验拒绝。
- Drops I, which is true because 15 is outside the interval, and keeps III, which treats $0.95$ as a p-value.丢掉了为真的 I(15 在区间之外),却保留了把 $0.95$ 当作 p 值的 III。
- Correct: I and II follow from the interval; III confuses the confidence level with a p-value.正确:I 和 II 由区间得出;III 把置信水平与 p 值混淆了。
- Adds III to the two true statements. The confidence level $0.95$ and the p-value of the test at $\mu_0=13$ are different quantities; the p-value depends on how far 13 is from $\bar x$.把 III 加到两个真陈述上。置信水平 $0.95$ 与 $\mu_0=13$ 时检验的 p 值是不同的量;p 值取决于 13 离 $\bar x$ 有多远。
Part II: Free Response Solutions第二部分:简答题详解
▄▄██████▄▄
▄████████████▄
▄██████████████████▄ ▌
▄█████████████████████████ ▌
▄██████████████████████████████▌
0.50 0.56
▌ observed: p-hat = 0.56Researchers test $H_0:p=0.50$ against $H_a:p\gt0.50$ at the 5% significance level. ▄▄██████▄▄
▄████████████▄
▄██████████████████▄ ▌
▄█████████████████████████ ▌
▄██████████████████████████████▌
0.50 0.56
▌ 观察值:p-hat = 0.56研究者在 5% 的显著性水平(significance level)下检验 $H_0:p=0.50$ 对 $H_a:p\gt0.50$。- State the hypotheses and verify the conditions for the one-proportion $z$ test.写出假设并检验单比例 $z$ 检验的条件。 [2]
- Compute the standardized test statistic and the p-value.计算标准化检验统计量和 p 值。 [3]
- Interpret the p-value in the context of the game.结合游戏情境解释该 p 值。 [1]
- State the conclusion at the 5% significance level in context.写出 5% 显著性水平下结合情境的结论。 [1]
p-value)为 $P(Z\gt1.697)\approx0.0448$。若一半玩家无需帮助就通过,则约 4.5% 的 200 人随机样本会给出 0.56 或更高的样本比例。因为 $0.0448\lt0.05$,我们拒绝 $H_0$:有令人信服的证据表明,超过一半的玩家无需帮助即可通过第 1 关。(a) 2 points2 分
The parameter is the proportion of all players; $H_0:p=0.50$, $H_a:p\gt0.50$ (one-sided, from the claim being questioned). Random sampling is stated, 200 players are under 10% of millions, and the counts use $p_0$: $200(0.50)=100$ and $200(0.50)=100$, both well above 10.参数是全体玩家的比例;$H_0:p=0.50$,$H_a:p\gt0.50$(单侧(one-sided),来自被质疑的说法)。已说明随机抽样,200 名玩家不到数百万的 10%,计数使用 $p_0$:$200(0.50)=100$ 与 $200(0.50)=100$,都远大于 10。
(b) 3 points3 分
The standard error uses the hypothesized value: $\sqrt{0.50(0.50)/200}=0.03536$. Then $z=(0.56-0.50)/0.03536\approx1.697$, and the alternative is right-tailed, so the p-value is $P(Z\gt1.697)\approx0.0448$ (1-PropZTest, $p_0=0.5$, $x=112$, $n=200$, $\gt p_0$). One point for the standard error, one for $z$, one for the tail area.标准误(standard error)使用假设值:$\sqrt{0.50(0.50)/200}=0.03536$。于是 $z=(0.56-0.50)/0.03536\approx1.697$,备择假设(alternative hypothesis)是右尾的,所以 p 值为 $P(Z\gt1.697)\approx0.0448$(1-PropZTest,$p_0=0.5$,$x=112$,$n=200$,$\gt p_0$)。标准误一分,$z$ 一分,尾部面积一分。
(c) 1 point1 分
Assuming the advertised proportion $0.50$ is true, the probability of a random sample of 200 players giving a sample proportion of $0.56$ or higher is about $0.045$.假定宣称的比例 $0.50$ 为真,200 名玩家的随机样本给出 $0.56$ 或更高样本比例的概率约为 $0.045$。
(d) 1 point1 分
Because the p-value $0.0448$ is less than $\alpha=0.05$, we reject $H_0$; there is convincing evidence that more than half of all players finish level 1 without help.因为 p 值 $0.0448$ 小于 $\alpha=0.05$,我们拒绝 $H_0$;有令人信服的证据表明超过一半的玩家无需帮助即可通过第 1 关。
Where this goes wrong: reporting the complement $0.955$ as the p-value, interpreting 0.0448 as the probability that $H_0$ is true, putting $\hat p=0.56$ in the standard error, or writing "reject $H_0$" without linking it to the 0.05 comparison and without the context.常见错误:把补集 $0.955$ 当作 p 值,把 0.0448 解释为 $H_0$ 为真的概率,在标准误中使用 $\hat p=0.56$,或只写“拒绝 $H_0$”而没有与 0.05 的比较挂钩、也没有情境。
significance level)下检验。- State the hypotheses and check the conditions for a one-proportion $z$ test.写出假设并检验单比例 $z$ 检验的条件。 [3]
- Compute the test statistic (round $z$ to 2 decimals) and the p-value.计算检验统计量($z$ 保留 2 位小数)和 p 值。 [3]
- State the conclusion in context. A colleague adds, "Since we failed to reject $H_0$, we have shown that exactly 60% of users open the app daily." Explain the error.写出结合情境的结论。同事补充说:“既然没有拒绝 $H_0$,我们就证明了恰好 60% 的用户每天打开该应用。”解释其中的错误。 [4]
- Construct a 95% confidence interval for $p$ and explain how it agrees with the test result.构造 $p$ 的 95% 置信区间,并解释它如何与检验结果一致。 [3]
p-value) $=2P(Z\le-1.37)\approx0.171$。(c) 因为 $0.171\gt0.05$,我们不拒绝(fail to reject) $H_0$:没有令人信服的证据表明每天打开应用的活跃用户比例不同于 0.60。不拒绝并不说明 0.60 为真;附近许多 $p$ 值也与数据相符。(d) 条件:$180(0.55)=99\ge10$,$180(0.45)=81\ge10$。$0.55\pm1.96\sqrt{0.55(0.45)/180}=0.55\pm0.073$,即 $(0.477,\ 0.623)$。我们有 95% 的把握认为该区间覆盖了每天打开应用的活跃用户比例。区间包含 0.60,与双侧(two-sided)检验在 $\alpha=0.05$ 下不拒绝一致。(a) 3 points3 分
One point for the parameter in words and $H_0:p=0.60$; one for $H_a:p\ne0.60$ (the manager believes it is "different", with no direction); one for the three conditions with numbers: random, $180\lt4000$, and counts at $p_0$: $108$ and $72$.一分给用文字定义的参数和 $H_0:p=0.60$;一分给 $H_a:p\ne0.60$(经理认为“不同”,没有方向);一分给带数字的三个条件:随机、$180\lt4000$,以及在 $p_0$ 处的计数 $108$ 与 $72$。
(b) 3 points3 分
The standard error uses $p_0$: $\sqrt{0.60(0.40)/180}=0.03651$. Then $z=-0.05/0.03651\approx-1.37$. The alternative is two-sided, so the p-value is $2P(Z\le-1.37)=2(0.0853)\approx0.171$ (1-PropZTest, $p_0=0.6$, $x=99$, $n=180$, $\ne p_0$). One point each for the standard error, $z$, and the doubled tail.标准误(standard error)使用 $p_0$:$\sqrt{0.60(0.40)/180}=0.03651$。于是 $z=-0.05/0.03651\approx-1.37$。备择假设(alternative hypothesis)是双侧的,所以 p 值为 $2P(Z\le-1.37)=2(0.0853)\approx0.171$(1-PropZTest,$p_0=0.6$,$x=99$,$n=180$,$\ne p_0$)。标准误、$z$、加倍的尾部各一分。
(c) 4 points4 分
Two points for the decision linked to the comparison ("because $0.171\gt0.05$, we fail to reject $H_0$") and for the context sentence with "not convincing evidence". Two points for the error: a failure to reject says the sample was not extreme enough, not that $p=0.60$ exactly; the interval in (d) shows many values near $0.60$ are plausible.两分给与比较挂钩的决定(“因为 $0.171\gt0.05$,我们不拒绝 $H_0$”)和带“没有令人信服的证据”的情境句。两分给错误解释:不拒绝说明样本不够极端,而不是 $p$ 恰好等于 $0.60$;(d) 中的区间表明 $0.60$ 附近许多值都合理。
(d) 3 points3 分
One point for the interval $0.55\pm1.96(0.0371)=(0.477,\ 0.623)$ with the interval's own counts $99$ and $81$ checked (the interval uses $\hat p$). One point for the interpretation naming the population. One point for the link: $0.60$ lies inside, so it is a plausible value, the same decision as a two-sided test at $\alpha=0.05$.一分给区间 $0.55\pm1.96(0.0371)=(0.477,\ 0.623)$ 并检查了区间自己的计数 $99$ 与 $81$(区间使用 $\hat p$)。一分给点明总体的解释。一分给联系:$0.60$ 在区间内,因此是合理的值,与 $\alpha=0.05$ 的双侧检验决定相同。
Where this goes wrong: using $\hat p$ in the test's standard error, forgetting to double the tail, reading a p-value of 0.171 as the probability that $H_0$ is true, writing "accept $H_0$" or "the company is right", and checking the interval's conditions with $p_0$ instead of $\hat p$.常见错误:在检验的标准误中使用 $\hat p$,忘记把尾部加倍,把 0.171 读成 $H_0$ 为真的概率,写“接受 $H_0$”或“公司是对的”,以及用 $p_0$ 而不是 $\hat p$ 检查区间的条件。
- Describe a Type I error and a Type II error in this context, give one consequence of each, and state the probability of a Type I error.结合此情境描述第一类错误和第二类错误,各给出一个后果,并写出第一类错误的概率。 [5]
- The test rejects $H_0$ when $\hat p$ exceeds a cut-off. Find the cut-off (use $z=1.645$), then find the probability that the test rejects $H_0$ when the true proportion is $p=0.15$.当 $\hat p$ 超过某个临界点时检验拒绝 $H_0$。求该临界点(取 $z=1.645$),再求真实比例为 $p=0.15$ 时检验拒绝 $H_0$ 的概率。 [4]
- Interpret the probability from (b) in context, and state the probability of a Type II error when $p=0.15$.结合情境解释 (b) 中的概率,并写出 $p=0.15$ 时第二类错误的概率。 [2]
- The manager wants higher power against $p=0.15$ without raising the probability of a Type I error. Name a change that does this and say what happens to the probability of a Type II error.经理希望针对 $p=0.15$ 的功效更高,同时不提高第一类错误的概率。说出一个能做到这一点的改变,并说明第二类错误的概率会怎样变化。 [2]
Type I error):工艺仍恰好生产 10% 次品时,却断定它生产的次品多于 10%;后果:为不必要的维修而停掉良好的生产线。第二类错误(Type II error):次品比例确实高于 0.10 时,却没有找到次品更多的令人信服的证据;后果:次品螺栓继续出厂。$P(\text{Type I})=\alpha=0.05$。(b) 条件:$200(0.10)=20\ge10$,$200(0.90)=180\ge10$。临界点 $=0.10+1.645\sqrt{0.10(0.90)/200}=0.10+1.645(0.02121)\approx0.1349$。若 $p=0.15$,$\hat p$ 的标准差为 $\sqrt{0.15(0.85)/200}\approx0.02525$,所以功效(power) $=P\!\left(Z\gt\dfrac{0.1349-0.15}{0.02525}\right)=P(Z\gt-0.60)\approx0.73$。(c) 若真实比例是 0.15,该检验约有 73% 的时间能检出这一增加;$P(\text{Type II})=1-0.73\approx0.27$。(d) 增大样本容量 $n$:$\hat p$ 的标准差变小,功效上升,第二类错误概率下降,而 $\alpha$ 不变。(a) 5 points5 分
Each error needs two halves, what is concluded and what is true: Type I rejects a true $H_0$ (1 point), Type II fails to reject a false $H_0$ (1 point). One consequence tied to the factory for each (1 point each), and $P(\text{Type I})=\alpha=0.05$ (1 point).每类错误都要写出两半:得出了什么、实际如何:第一类是拒绝了真的 $H_0$(1 分),第二类是没有拒绝为假的 $H_0$(1 分)。各有一个与工厂挂钩的后果(各 1 分),以及 $P(\text{Type I})=\alpha=0.05$(1 分)。
(b) 4 points4 分
Under $H_0$, $\sigma_{\hat p}=\sqrt{0.10(0.90)/200}=0.02121$, so the cut-off is $0.10+1.645(0.02121)=0.1349$ (2 points with the check of the counts). For $p=0.15$, $\sigma=\sqrt{0.15(0.85)/200}=0.02525$ and power $=P(Z\gt-0.60)=0.7257\approx0.73$ (2 points). A wrong cut-off carries through to the power calculation, which earns its points by follow-through.在 $H_0$ 下 $\sigma_{\hat p}=\sqrt{0.10(0.90)/200}=0.02121$,所以临界点为 $0.10+1.645(0.02121)=0.1349$(2 分,含计数检查)。当 $p=0.15$ 时 $\sigma=\sqrt{0.15(0.85)/200}=0.02525$,功效 $=P(Z\gt-0.60)=0.7257\approx0.73$(2 分)。临界点算错会带入后续(后续按其结果计算仍可得分)。
(c) 2 points2 分
Power is the probability of rejecting $H_0$ when it is false: if $p=0.15$, the test rejects (finds the increase) about 73% of the time (1 point). $\beta=1-0.73\approx0.27$ (1 point).功效是 $H_0$ 为假时拒绝 $H_0$ 的概率:若 $p=0.15$,检验约有 73% 的时间会拒绝(发现增加)(1 分)。$\beta=1-0.73\approx0.27$(1 分)。
(d) 2 points2 分
A larger sample is the only change that raises power without raising $\alpha$ (1 point); the Type II error probability falls (1 point). Raising $\alpha$ would also raise power but would raise the Type I error probability, which the manager does not want.更大的样本是唯一能在不提高 $\alpha$ 的情况下提高功效的改变(1 分);第二类错误的概率下降(1 分)。提高 $\alpha$ 也能提高功效,但会提高第一类错误的概率,这是经理不想要的。
Where this goes wrong: swapping the two errors, describing an error without saying what is really true, taking the p-value or the power as the Type I error probability, forgetting that the cut-off comes from $p_0=0.10$ while the power comes from $p=0.15$, and giving the power as the Type II error probability.常见错误:把两类错误对调,描述错误时没有说明实际真相,把 p 值或功效当成第一类错误的概率,忘记临界点来自 $p_0=0.10$ 而功效来自 $p=0.15$,以及把功效当作第二类错误的概率。
significance level)为 $\alpha$。样本比例为 $\hat p=p_0+d$,其中 $d\gt0$。- Show that the test statistic is $z=\dfrac{d\sqrt n}{\sqrt{p_0(1-p_0)}}$.证明检验统计量为 $z=\dfrac{d\sqrt n}{\sqrt{p_0(1-p_0)}}$。 [2]
- Study 1 uses $n=100$ and Study 2 uses $n=400$, with the same $p_0$ and the same $d$. Without computing, which study has the smaller p-value? Explain.研究 1 用 $n=100$,研究 2 用 $n=400$,$p_0$ 和 $d$ 相同。不计算,哪项研究的 p 值更小?请解释。 [2]
- Let $p_0=0.50$, $d=0.04$ and $\alpha=0.05$. Find the smallest sample size $n$ for which the test rejects $H_0$ (reject when $z\ge1.645$).设 $p_0=0.50$,$d=0.04$,$\alpha=0.05$。求使检验拒绝 $H_0$ 的最小样本容量 $n$(当 $z\ge1.645$ 时拒绝)。 [3]
- Repeat (c) with $\alpha=0.01$ (reject when $z\ge2.326$) and explain why the answer changed.取 $\alpha=0.01$(当 $z\ge2.326$ 时拒绝)重做 (c),并解释答案为何改变。 [2]
standard error)是 $\sqrt{p_0(1-p_0)/n}$,所以 $z=\dfrac{(p_0+d)-p_0}{\sqrt{p_0(1-p_0)/n}}=\dfrac{d\sqrt n}{\sqrt{p_0(1-p_0)}}$。(b) 研究 2:$n$ 变为 4 倍,$\sqrt n$ 变为 2 倍,所以 $z$ 加倍,右尾 p 值(p-value)更小。(c) $\dfrac{0.04\sqrt n}{0.5}\ge1.645$ 得 $\sqrt n\ge20.5625$,所以 $n\ge422.8$,最小样本容量为 $n=423$。(d) $\sqrt n\ge\dfrac{2.326(0.5)}{0.04}=29.075$,所以 $n\ge845.4$,即 $n=846$。更小的 $\alpha$ 要求更大的 $z$,在同样的 $d$ 下需要更多数据。(a) 2 points2 分
1 point for the null standard error $\sqrt{p_0(1-p_0)/n}$ (it uses $p_0$); 1 point for substituting $\hat p-p_0=d$ and simplifying the division by $1/\sqrt n$.1 分给原假设(null hypothesis)下的标准误 $\sqrt{p_0(1-p_0)/n}$(用的是 $p_0$);1 分给代入 $\hat p-p_0=d$ 并化简除以 $1/\sqrt n$。
(b) 2 points2 分
From (a), $z$ is proportional to $\sqrt n$. Study 2 has $\sqrt{400}=2\sqrt{100}$, so its $z$ is twice as large (1 point), and a larger $z$ in the direction of $H_a$ gives a smaller p-value (1 point).由 (a),$z$ 与 $\sqrt n$ 成正比。研究 2 的 $\sqrt{400}=2\sqrt{100}$,所以其 $z$ 是两倍(1 分),沿 $H_a$ 方向更大的 $z$ 给出更小的 p 值(1 分)。
(c) 3 points3 分
$\sqrt n\ge\dfrac{1.645\sqrt{0.5(0.5)}}{0.04}=\dfrac{1.645(0.5)}{0.04}=20.5625$ (2 points). Squaring gives $422.8$, which is rounded up because $n=422$ gives $z\approx1.643\lt1.645$ (1 point).$\sqrt n\ge\dfrac{1.645\sqrt{0.5(0.5)}}{0.04}=\dfrac{1.645(0.5)}{0.04}=20.5625$(2 分)。平方得 $422.8$,向上取整,因为 $n=422$ 时 $z\approx1.643\lt1.645$(1 分)。
(d) 2 points2 分
The same steps give $29.075^2=845.4$, so $n=846$ (1 point). A smaller $\alpha$ moves the rejection cut-off farther out, so the same $d$ needs a larger sample to reach it (1 point).同样的步骤得 $29.075^2=845.4$,所以 $n=846$(1 分)。更小的 $\alpha$ 把拒绝的临界点推得更远,同样的 $d$ 需要更大的样本才能达到(1 分)。
Where this goes wrong: leaving $\sqrt n$ out of the numerator, using $\hat p$ in the denominator, rounding $422.8$ down to $422$, and forgetting to square after solving for $\sqrt n$.常见错误:分子漏掉 $\sqrt n$,分母使用 $\hat p$,把 $422.8$ 向下舍成 $422$,以及解出 $\sqrt n$ 后忘记平方。
significance level)下检验。- State the hypotheses in symbols and in words.用符号和文字写出假设。 [1]
- Verify the conditions for a one-sample $t$ test.检验单样本 $t$ 检验的条件。 [2]
- Compute the test statistic and the p-value, and name the degrees of freedom.计算检验统计量和 p 值,并写出自由度。 [2]
- State the conclusion in context, and describe what a Type I error would mean here.写出结合情境的结论,并描述此处第一类错误的含义。 [2]
p-value)约为 $0.0173$。因为 $0.0173\lt0.05$,我们拒绝 $H_0$:有令人信服的证据表明该校平均每周学习时间超过 $5.5$ 小时。第一类错误(Type I error)是指:平均值实际为 $5.5$ 小时时,却断定它超过 $5.5$ 小时。(a) 1 point1 分
$H_0:\mu=5.5$ against $H_a:\mu\gt5.5$, with $\mu$ defined as the mean weekly study hours of all students at this school. The alternative is one-sided because the researchers suspect the mean is higher.$H_0:\mu=5.5$ 对 $H_a:\mu\gt5.5$,$\mu$ 定义为该校全体学生的平均每周学习小时数。备择假设(alternative hypothesis)是单侧(one-sided)的,因为研究者怀疑平均值更高。
(b) 2 points2 分
Random selection is stated; $36\lt0.10(900)=90$; the dotplot is roughly symmetric with no outliers, so the one-sample $t$ procedure is reasonable. One point for random and 10% with numbers, one for the Normal condition from the graph.已说明随机抽取;$36\lt0.10(900)=90$;点图大致对称且没有离群点,所以单样本 $t$ 程序合理。随机与带数字的 10% 一分,依据图形的正态条件一分。
(c) 2 points2 分
$SE=0.6/\sqrt{36}=0.1$; $t=(5.72-5.5)/0.1=2.2$; $df=36-1=35$; the p-value is $P(T_{35}\gt2.2)\approx0.0173$ (T-Test, $\mu_0=5.5$, $\bar x=5.72$, $Sx=0.6$, $n=36$, $\gt\mu_0$).$SE=0.6/\sqrt{36}=0.1$;$t=(5.72-5.5)/0.1=2.2$;$df=36-1=35$;p 值为 $P(T_{35}\gt2.2)\approx0.0173$(T-Test,$\mu_0=5.5$,$\bar x=5.72$,$Sx=0.6$,$n=36$,$\gt\mu_0$)。
(d) 2 points2 分
One point for the decision linked to the comparison and the context sentence with "convincing evidence"; one point for the Type I error written as concluding the mean exceeds 5.5 hours when it is 5.5.一分给与比较挂钩的决定以及带“令人信服的证据”的情境句;一分给第一类错误:平均值实际为 5.5 时断定它超过 5.5 小时。
Where this goes wrong: using $\bar x$ in the hypotheses, stating the conditions without the numbers, using $z$ and normalcdf instead of $t$ and $df=35$, reporting the two-sided area for a one-sided test, and describing a Type I error as a calculation mistake.常见错误:假设中使用 $\bar x$,陈述条件时不带数字,用 $z$ 和 normalcdf 而不是 $t$ 与 $df=35$,对单侧检验给出双侧面积,以及把第一类错误说成计算失误。
| 19.2 | 17.8 | 20.5 | 18.9 |
| 21.1 | 18.4 | 19.6 | 17.5 |
| 20.2 | 18.7 | 19.0 | 18.1 |
| 19.2 | 17.8 | 20.5 | 18.9 |
| 21.1 | 18.4 | 19.6 | 17.5 |
| 20.2 | 18.7 | 19.0 | 18.1 |
significance level)下检验。这些数据的 $\bar x\approx19.08$ 小时,$s\approx1.10$ 小时。- State the hypotheses and check the conditions for a one-sample $t$ test.写出假设并检验单样本 $t$ 检验的条件。 [3]
- Find the test statistic, the degrees of freedom and the p-value.求检验统计量、自由度和 p 值。 [3]
- State the conclusion in context. A member says, "The p-value is 0.015, so there is a 1.5% chance that the true mean is 20 hours." Evaluate this statement.写出结合情境的结论。一名成员说:“p 值是 0.015,所以真实平均值为 20 小时的可能性是 1.5%。”评价这一说法。 [3]
- A 95% $t$ interval from the same data is $(18.38,\ 19.78)$ hours. Explain why this interval agrees with your conclusion.用同一数据得到的 95% $t$ 区间为 $(18.38,\ 19.78)$ 小时。解释为什么这个区间与你的结论一致。 [2]
two-sided) p 值(p-value)为 $2P(T_{11}\le-2.88)\approx0.015$。(c) 因为 $0.015\lt0.05$,我们拒绝 $H_0$:有令人信服的证据表明这批手机的平均电池使用时间不同于 20 小时(看起来更低)。该说法是错的:p 值是假定平均值为 20 小时时,样本均值离 20 至少这么远(任一方向)的概率;它不是平均值为 20 的概率。(d) 区间不含 20,所以 20 不是 $\mu$ 的合理值,与 $\alpha=0.05$ 的双侧检验决定一致。(a) 3 points3 分
One point for $\mu$ defined in context with $H_0:\mu=20$; one for $H_a:\mu\ne20$ (the group asks whether the mean "differs"); one for random, $12\lt10\%$ of the shipment, and the Normal condition read from the dotplot (needed because $n=12\lt30$).一分给结合情境定义的 $\mu$ 和 $H_0:\mu=20$;一分给 $H_a:\mu\ne20$(该组织问的是平均值是否“不同”);一分给随机、$12$ 小于这批货的 $10\%$,以及由点图得出的正态条件(因 $n=12\lt30$ 而需要)。
(b) 3 points3 分
$SE=1.10/\sqrt{12}=0.3183$, $t=-0.917/0.3183\approx-2.88$ (1 point for each of the standard error and $t$ together), $df=12-1=11$ (1 point), and the two-sided p-value $2P(T_{11}\le-2.88)\approx0.015$ (1 point) (T-Test, $\mu_0=20$, $\bar x=19.08$, $Sx=1.10$, $n=12$, $\ne\mu_0$).$SE=1.10/\sqrt{12}=0.3183$,$t=-0.917/0.3183\approx-2.88$(标准误(standard error)与 $t$ 合计 1 分),$df=12-1=11$(1 分),双侧 p 值 $2P(T_{11}\le-2.88)\approx0.015$(1 分)(T-Test,$\mu_0=20$,$\bar x=19.08$,$Sx=1.10$,$n=12$,$\ne\mu_0$)。
(c) 3 points3 分
One point for comparing $0.015$ with $0.05$ and rejecting $H_0$; one for the context sentence with "convincing evidence" naming the shipment's mean battery life; one for explaining that the p-value is computed assuming $\mu=20$ and is not the probability that $\mu=20$.一分给比较 $0.015$ 与 $0.05$ 并拒绝 $H_0$;一分给点明这批货平均电池使用时间、带“令人信服的证据”的情境句;一分给解释 p 值是假定 $\mu=20$ 算出的,不是 $\mu=20$ 的概率。
(d) 2 points2 分
One point for noting that 20 lies outside $(18.38,\ 19.78)$, so it is not a plausible value; one for linking this to the two-sided test at $\alpha=0.05$ rejecting $H_0:\mu=20$ (a 95% interval matches a two-sided 5% test).一分给指出 20 在 $(18.38,\ 19.78)$ 之外,所以不是合理的值;一分给把它与 $\alpha=0.05$ 的双侧检验拒绝 $H_0:\mu=20$ 联系起来(95% 区间对应双侧 5% 检验)。
Where this goes wrong: skipping the Normal check even though $n=12$, using $z$ instead of $t$ (which gives a smaller p-value), forgetting to double the tail, reading the p-value as the probability that $H_0$ is true, and claiming the interval "proves" the mean is between 18.38 and 19.78.常见错误:尽管 $n=12$ 却跳过正态检查,用 $z$ 而不是 $t$(会得到更小的 p 值),忘记把尾部加倍,把 p 值读成 $H_0$ 为真的概率,以及声称区间“证明”平均值在 18.38 与 19.78 之间。
Curriculum:课程依据: College Board AP Statistics CED, effective fall 2026