跳到主要内容

定量数据的推断:均值

AP 统计学 · 知识点 7

本主题的视频课程 打开视频页面
7:38

定量数据的推断:均值

你已经掌握了推断的核心。取一个样本,求其均值,然后反复进行。即使总体分布偏斜,那些样本均值…

英语旁白 · 英中内嵌字幕

7.1

统计学导论:我应该担心误差吗?

教学大纲

持久理解(VAR-1): 由于变异可能是随机的,也可能不是随机的,因此结论具有不确定性。

学习目标 VAR-1.I: 识别由统计推断中的误差概率所提出的问题。[技能 1.A]

  • VAR-1.I.1 随机变异可能导致统计推断中出现误差。

来源:College Board AP 课程与考试说明

English
Type I and Type II errors

Inference for a mean 均值 works like inference for a proportion, with one change: we rarely know the population standard deviation 总体标准差 $\sigma$, so we estimate it with the sample $s$. That extra uncertainty means we use the $t$-distribution t分布 instead of the normal – a distribution 分布 that is bell-shaped but with heavier tails, and it depends on the degrees of freedom 自由度 $df=n-1$; as $n$ grows it approaches the normal.

A packing machine is supposed to fill bags of chips with $28.0\ \text{g}$. A quality checker weighs 20 bags and finds a mean of $27.4\ \text{g}$. Is the machine underfilling, or is $0.6\ \text{g}$ just the luck of which bags were picked? This unit turns that question into a number, and makes you say what could go wrong with your answer.

词汇 训练
English 中文 拼音
mean/miːn/ 均值 jūn zhí
population standard deviation 总体标准差 zǒng tǐ biāo zhǔn chà
distribution/ˌdɪstrɪˈbjuːʃn/ 分布 fēn bù
degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ 自由度 zì yóu dù
7.2

构建总体均值的置信区间

教学大纲

持久性理解 (VAR-7): $t$-分布可用于建模变异。

学习目标 VAR-7.A: 描述 $t$-分布。[技能 3.C]

  • VAR-7.A.1 当使用 $s$ 代替 $\sigma$ 计算检验统计量时,相应的分布(称为 $t$-分布)在形状上正态分布有所不同,即密度曲线尾部的面积分配比正态分布更多。
  • VAR-7.A.2 随着自由度增加,$t$-分布尾部的面积减少。

持久性理解 (UNC-4): 应使用值区间来估计参数,以考虑不确定性。

学习目标 UNC-4.O: 识别适用于总体均值(包括匹配对中数值平均差异)的适当置信区间程序。[技能 1.D]

  • UNC-4.O.1 因为对于定量变量分布,$\sigma$ 通常未知,所以用于估计单个样本中一个定量变量的总体均值的适当置信区间程序是用于均值的单样本 $t$-区间。
  • UNC-4.O.2 对于一个服从正态分布的定量变量 $X$,$t = \dfrac{(\overline{x} - \mu)}{\frac{s}{\sqrt{n}}}$ 的分布是一个具有 $n-1$ 自由度的 $t$-分布。
  • UNC-4.O.3 匹配对可视为一对对的单个样本。一旦找到配对值之间的差异,置信区间的推断过程与总体均值相同。

学习目标 UNC-4.P: 验证计算总体均值(包括匹配对中数值平均差异)置信区的条件。[技能 4.C]

  • UNC-4.P.1 为了计算估计总体均值的置信区间,我们必须检查独立性以及抽样分布是否近似正态:
    • a. 检查独立性:
      • i. 数据应使用随机样本或随机实验收集。
      • ii. 在不放回抽样时,检查 $n \leq 10\%N$,其中 $N$ 是总体大小。
    • b. 检查 $\overline{x}$ 的抽样分布是否近似正态(形状):
      • i. 如果观测分布偏斜,$n$ 应大于 30。
      • ii. 如果样本量小于 30,样本数据的分布应无严重偏斜和异常值。

学习目标 UNC-4.Q: 确定给定样本量的单样本 $t$-区间的边际误差。[技能 3.D]

  • UNC-4.Q.1 具有 $n-1$ 自由度的临界值 $t^*$ 可以使用表格或计算机生成的输出找到。
  • UNC-4.Q.2 样本均值的标准误由 $SE = \dfrac{s}{\sqrt{n}}$ 给出,其中 $s$ 是样本标准差。
  • UNC-4.Q.3 对于用于均值的单样本 $t$-区间,边际误差是临界值($t^*$)乘以标准误($SE$),等于 $t^*\left(\dfrac{s}{\sqrt{n}}\right)$。

学习目标 UNC-4.R: 计算总体均值的适当置信区间,包括匹配对中数值平均差异。[技能 3.D]

  • UNC-4.R.1 总体均值的点估计是样本均值,$\overline{x}$。
  • UNC-4.R.2 对于总体标准差未知的单个样本的总体均值,置信区间为 $\overline{x} \pm t^* \dfrac{s}{\sqrt{n}}$。

边界声明: AP 统计学考试提供的 AP 统计学公式表上没有明确列出区间估计的公式。但是,不需要死记硬背这些公式,因为它们可以根据公式表中提供的一般检验统计量公式和相关标准误公式构建出来。

来源:College Board AP 课程与考试说明

English
What a confidence interval means

A one-sample $t$ confidence interval 置信区间 for $\mu$:

$$\bar{x}\pm t^{*}\frac{s}{\sqrt{n}}.$$
$t^{*}$ is the critical value 临界值 with $df=n-1$. Conditions: random sample, Normal/Large Sample (population normal, or $n\ge 30$ by the CLT, or a roughly symmetric sample with no outliers 异常值), and the 10% condition. Interpret the interval and the confidence level 置信水平 in context.

Worked example. A random sample of $n=25$ has $\bar{x}=50$ and $s=8$. For a $95\%$ interval, $df=24$ gives $t^*=2.064$:

$$50\pm2.064\cdot\frac{8}{\sqrt{25}}=50\pm2.064(1.6)=50\pm3.3=(46.7,\ 53.3).$$

Common mistakes. Using $z^*=1.96$ when $\sigma$ is unknown, or the wrong degrees of freedom ($n$ instead of $n-1$). Writing “$n\ge30$” for the Normal condition when $n=25$: with a small sample, say what a graph of the sample shows (no strong skew, no outliers).

The t-distribution has a lower peak and heavier tails than the normal
The t-distribution has a lower peak and heavier tails than the normal
Repeated 95% confidence intervals: about 95% capture the true parameter
“95% confident” describes the method, not one interval: over many samples about 95% of the intervals contain $\mu$ and about 5% miss it.
探索

为什么 t 区间比 z 区间宽

均值区间使用 $t^*$,而不是 $1.96$,因为 $\sigma$ 由 $s$ 估计。向下拖动 df 并观察 $t^*$ 增大——在 $df=10$ 时它为 $2.228$,因此区间更宽。向上拖动 df 并 $t^*$ 回落至接近 $1.96$,这就是为什么大样本可能使用 $z$ 的原因。

词汇 训练
English 中文 拼音
t-distribution t分布 t fēn bù
confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ 置信区间 zhì xìn qū jiān
critical value/ˈkrɪtɪkl ˈvæljuː/ 临界值 lín jiè zhí
outlier/ˈaʊtlaɪə/ 异常值 yì cháng zhí
confidence level/ˈkɒnfɪdəns ˈlevl/ 置信水平 zhì xìn shuǐ píng
7.3

基于置信区间论证关于总体均值的结论

教学大纲

持久理解 (UNC-4): 应使用一组数值的区间来估计参数,以考虑不确定性。

学习目标 UNC-4.S: 解释总体均值的置信区间,包括匹配对中数值之差的均值。[技能 4.B]

  • UNC-4.S.1 总体均值的置信区间要么包含总体均值,要么不包含,因为每个区间都是基于来自随机样本的数据构建的,而该数据随样本的不同而变化。
  • UNC-4.S.2 我们有 C% 的把握认为总体均值的置信区间包含了总体均值。
  • UNC-4.S.3 对总体均值置信区间的解释应包括对所取样本的引用以及关于其所代表总体的详细信息。
    • UNC-4.S.3 说明示例: 针对根据洞穴中特定随机选定的脚印样本,解释所有在洞穴中发现的脚印的平均脚长的 96% 置信区间:“我们有 96% 的把握认为洞穴中发现的所有脚印的平均脚长落在该置信区间内”(基于 2000 年自由回答题 2)。

学习目标 UNC-4.T: 基于总体均值的置信区间论证一项主张,包括匹配对中数值之差的均值。[技能 4.D]

  • UNC-4.T.1 总体均值的置信区间提供了一组数值范围,这组范围可能为支持特定情境下的某项主张提供充分证据。

学习目标 UNC-4.U: 识别总体均值的样本量、置信区间宽度、置信水平与边际误差之间的关系。[技能 4.A]

  • UNC-4.U.1 当其他条件保持不变时,随着样本量的增加,总体均值的置信区间宽度倾向于减小。
  • UNC-4.U.2 对于单个均值,区间的宽度与 $\dfrac{1}{\sqrt{n}}$ 成正比。
  • UNC-4.U.3 对于给定的样本,随着置信水平的提高,总体均值的置信区间宽度会增加。

来源:College Board AP 课程与考试说明

English

As with proportions: a claimed mean inside the interval is plausible 可信; outside the interval, the data give evidence against it. Answer in context using the plausible range.

词汇 训练
English 中文 拼音
plausible/ˈplɔːzɪbl/ 可信 kě xìn
t statistic t统计量 t tǒng jì liàng
7.4

建立总体均值的检验

教学大纲

持久理解 (VAR-7): $t$-分布可用于模拟变异。

学习目标 VAR-7.B: 识别适用于总体均值($\sigma$ 未知)的适当检验方法,包括配对观测值之间的均值差。[技能 1.E]

  • VAR-7.B.1 适用于 $\sigma$ 未知的总体均值的适当检验是单样本 $t$-检验。
  • VAR-7.B.2 配对观测可被视为一组配对样本。在计算出每对观测值之间的差异后,显著性检验的推断过程与针对总体均值的检验相同。

学习目标 VAR-7.C: 识别适用于总体均值($\sigma$ 未知)的原假设和备择假设,包括配对观测值之间的均值差。[技能 1.F]

  • VAR-7.C.1 针对总体均值的单样本 $t$-检验的原假设为 $H_0 : \mu = \mu_0$,其中 $\mu_0$ 为假设值。根据具体情况,备择假设为 $H_a : \mu < \mu_0$、$H_a : \mu > \mu_0$ 或 $H_a : \mu \neq \mu_0$。
  • VAR-7.C.2 当计算配对观测值之间的均值差 $\mu_d$ 时,明确减法的顺序至关重要。

学习目标 VAR-7.D: 验证适用于总体均值的检验条件,包括配对观测值之间的均值差。[技能 4.C]

  • VAR-7.D.1 在对总体均值进行统计推断时,必须检查独立性和抽样分布是否近似正态:
    • a. 检查独立性:
      • i. 数据应通过随机样本或随机实验收集。
      • ii. 在不放回抽样时,需检查 $n \leq 10\%N$。
    • b. 检查 $\overline{x}$ 的抽样分布是否近似正态(形状):
      • i. 若观测分布呈偏态,则 $n$ 应大于 30。
      • ii. 若样本量小于 30,则样本数据的分布应无强偏态和异常值。

来源:College Board AP 课程与考试说明

English
What a p-value means

State hypotheses about $\mu$: $H_0:\mu=\mu_0$ versus $H_a:\mu\neq\mu_0$ (or $<,>$). Check the same conditions. The one-sample $t$ statistic t统计量:

$$t=\frac{\bar{x}-\mu_0}{s/\sqrt{n}},\qquad df=n-1.$$

Worked example. Test $H_0:\mu=45$ against $H_a:\mu\neq45$ for the sample above ($\bar{x}=50$, $s=8$, $n=25$):

$$t=\frac{50-45}{8/\sqrt{25}}=\frac{5}{1.6}=3.13,\qquad df=24.$$
This $t$ is far out in the tail (two-tailed $p<0.01$), so reject 拒绝 $H_0$ – strong evidence the mean is not $45$. Notice $45$ also falls outside the $95\%$ interval $(46.7,53.3)$, the same conclusion by two routes.

词汇 训练
English 中文 拼音
reject/rɪˈdʒekt/ 拒绝 jù jué
7.5

执行总体均值的检验

教学大纲

持久理解 (VAR-7): $t$ 分布可用于模拟变异。

学习目标 VAR-7.E: 计算适用于总体均值的检验统计量,包括配对数据中数值之差的均值。[技能 3.E]

  • VAR-7.E.1 对于单个定量变量,当从可建模为正态分布(均值为 $\mu$,标准差为 $\sigma$)的总体中进行有放回随机抽样时,检验统计量 $t = \dfrac{\overline{x} - \mu}{\frac{s}{\sqrt{n}}}$ 的抽样分布服从自由度为 $n - 1$ 的 $t$ 分布。

边界说明: AP 统计学考试提供的公式表上并未显式列出检验统计量的公式。然而,这些公式无需背诵,因为它们可以根据通用的检验统计量公式以及公式表中提供的相关标准误公式推导得出。

持久理解 (DAT-3): 显著性检验使我们能够在特定背景下对假设做出判断。

学习目标 DAT-3.E: 解释针对总体均值的显著性检验的 $p$ 值,包括配对数据中数值之差的均值。[技能 4.B]

  • DAT-3.E.1 解释针对总体均值的显著性检验的 $p$ 值时,应认识到 $p$ 值是在假设原假设为真的前提下计算得出的,即假设真实的总体均值等于原假设中陈述的特定值。

学习目标 DAT-3.F: 基于针对总体均值的显著性检验结果,就总体提出主张并提供理由。[技能 4.E]

  • DAT-3.F.1 正式的决策会明确将 $p$ 值与显著性水平 $\alpha$ 进行比较。如果 $p$ 值 $\leq \alpha$,则拒绝原假设 $H_0 : \mu = \mu_0$;如果 $p$ 值 $> \alpha$,则不拒绝原假设。
  • DAT-3.F.2 针对总体均值的显著性检验结果可作为统计推理依据,以支持关于已抽样总体的研究问题的答案。

来源:College Board AP 课程与考试说明

English

Find the $p$-value from the $t$-distribution with $df=n-1$, compare to $\alpha$, and conclude in context – reject or fail to reject $H_0$, then state what that means for the claim. Show the test name, statistic, $df$, and $p$-value.

Worked example: a complete four-step test. The chip bags: a random sample of $n=20$ bags has $\bar x=27.4\ \text{g}$ and $s=1.1\ \text{g}$. At $\alpha=0.05$, is there convincing evidence that the machine underfills?

  • State. $H_0:\mu=28.0$ and $H_a:\mu<28.0$, where $\mu$ is the true mean fill of all bags from this machine.
  • Plan. One-sample $t$-test for a mean. Random: the bags were randomly selected. 10%: 20 bags is less than 10% of all bags filled. Normal: $n=20<30$, so check the sample's dotplot: it shows no strong skew 偏态 and no outliers.
  • Do. $t=\dfrac{27.4-28.0}{1.1/\sqrt{20}}=-2.44$, $df=19$, $p\approx0.012$.
  • Conclude. Because $p\approx0.012<\alpha=0.05$, reject $H_0$. There is convincing evidence that the true mean fill of bags from this machine is less than $28.0\ \text{g}$.

Every step names the parameter 参数 in context. “Reject $H_0$” alone, with no sentence about bags of chips, does not earn the conclusion point.

What could go wrong. A Type I error 第一类错误 here means concluding the machine underfills when its true mean really is $28.0\ \text{g}$: the factory stops a good machine. A Type II error 第二类错误 means failing to detect underfilling that is really happening: customers keep getting short bags. The probability of a Type I error is $\alpha$. Power 功效, the chance of correctly detecting a real difference, rises with a larger sample, a larger $\alpha$, or a larger true difference.

Worked example: paired data. Six students take a test before and after a revision course. Their score changes (after minus before) are $4,\ 2,\ 6,\ -1,\ 3,\ 4$. These are paired: the same students twice. So analyse the six differences as one sample: $\bar d=3.0$, $s_d=2.37$, so

$$t=\frac{3.0-0}{2.37/\sqrt6}=3.11,\qquad df=5,\qquad p\approx0.013\ \text{(one-sided)}.$$
Provided the population score differences are approximately normal, at $\alpha=0.05$ there is convincing evidence that the true mean score change is positive. With only six students, check the differences for strong skew and outliers. This before-and-after comparison alone does not establish that the course caused the improvement.

Common mistakes. Running a two-sample test on paired data: the two lists are not independent, because each value in one list belongs with one value in the other (the same student). The reverse error is pairing two independent groups just because they have the same size.

探索

从 t 曲线上读取 p 值

p 值是你的 $t$ 统计量之后的阴影尾部面积——对于双尾 $H_a$ 而言是两侧。$t$ 后面的虚线正态曲线显示了如果错误地使用 $z$ 你会得到的结果:在小自由度下,$t$ 尾部明显更厚,因此真实的 p 值比正态分布所暗示的要大。

词汇 训练
English 中文 拼音
skew/skjuː/ 偏态 piān tài
parameter/pəˈræmɪtə/ 参数 cān shù
Type I error/taɪp aɪ ˈerə/ 第一类错误 dì yī lèi cuò wù
Type II error/taɪp ˈtuː ˈerə/ 第二类错误 dì èr lèi cuò wù
power/ˈpaʊə/ 功效 gōng xiào
7.6

两个均值之差的置信区间

教学大纲

持久理解 (UNC-4): 应使用数值区间来估计参数,以考虑不确定性。

学习目标 UNC-4.V: 识别适用于两个总体均值之差的适当置信区间程序。[技能 1.D]

  • UNC-4.V.1 考虑来自总体 1 的样本量为 $n_1$、均值为 $\mu_1$、标准差为 $\sigma_1$ 的简单随机样本,以及来自总体 2 的样本量为 $n_2$、均值为 $\mu_2$、标准差为 $\sigma_2$ 的第二个简单随机样本。如果总体 1 和总体 2 的分布是正态的,或者如果 $n_1$ 和 $n_2$ 都大于 30,那么均值之差 $\overline{x}_1 - \overline{x}_2$ 的抽样分布也是正态的。$\overline{x}_1 - \overline{x}_2$ 的抽样分布的均值为 $\mu_1 - \mu_2$。$\overline{x}_1 - \overline{x}_2$ 的标准差为 $\sqrt{\dfrac{(\sigma_1)^2}{n_1} + \dfrac{(\sigma_2)^2}{n_2}}$。
  • UNC-4.V.2 对于两个独立样本的一个定量变量,适当的置信区间程序是两个样本 $t$ 区间的总体均值之差。

学习目标 UNC-4.W: 验证计算两个总体均值之差的置信区间的条件。[技能 4.C]

  • UNC-4.W.1 为了计算用于估计总体均值之差的置信区间,我们必须检查独立性以及抽样分布是否近似正态:
    • a. 检查独立性:
      • i. 数据应通过两个独立的随机样本或随机实验收集。
      • ii. 当不放回抽样时,检查 $n_1 \leq 10\%N_1$ 且 $n_2 \leq 10\%N_2$。
    • b. 检查 $(\overline{x}_1 - \overline{x}_2)$ 的抽样分布应近似正态(形状):
      • i. 如果观测到的分布是偏斜的,则 $n_1$ 和 $n_2$ 都应大于 30。

学习目标 UNC-4.X: 确定两个总体均值之差的边际误差。[技能 3.D]

  • UNC-4.X.1 对于两个样本均值之差,边际误差等于临界值 ($t^*$) 乘以两均值之差的標準誤 ($SE$)。
  • UNC-4.X.2 具有样本标准差 $s_1$ 和 $s_2$ 的两个样本均值之差的標準誤为 $\sqrt{\dfrac{(s_1)^2}{n_1} + \dfrac{(s_2)^2}{n_2}}$。

学习目标 UNC-4.Y: 计算两个总体均值之差的适当置信区间。[技能 3.D]

  • UNC-4.Y.1 两个总体均值之差的一点估计值是样本均值之差,$\overline{x}_1 - \overline{x}_2$。
  • UNC-4.Y.2 对于总体标准差未知的两个总体均值之差,置信区间为 $(\overline{x}_1 - \overline{x}_2) \pm t^* \sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}$,其中 $\pm t^*$ 是对应于具有适当自由度的 $t$ 分布中心 C% 部分的临界值,可通过技术工具查找。

边界说明: AP 统计考试提供的公式表中未明确列出区间估计的公式。然而,这些公式无需背诵,因为它们可以根据公式表上提供的一般检验统计量公式和相关標準誤公式构建得出。

来源:College Board AP 课程与考试说明

English

For independent samples 独立样本, estimate $\mu_1-\mu_2$:

$$(\bar{x}_1-\bar{x}_2)\pm t^{*}\sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}.$$
Conditions must hold in both samples. (Use technology for the $df$; do not pool 合并 the variances 方差 on the AP exam.)

Randomisation underpins fair comparison of two groups in a mean difference test
Randomisation underpins fair comparison of two groups in a mean difference test
词汇 训练
English 中文 拼音
independent samples/ˌɪndɪˈpendənt ˈsæmplz/ 独立样本 dú lì yàng běn
pool 合并 hé bìng
variance/ˈveərɪəns/ 方差 fāng chà
7.7

基于置信区间论证关于两个均值之差的结论

教学大纲

持久理解 (UNC-4): 应使用数值区间来估计参数,以考虑不确定性。

学习目标 UNC-4.Z: 解释两个总体均值之差的置信区间。[技能 4.B]

  • UNC-4.Z.1 在样本量相同的重复随机抽样中,大约 C% 的置信区间会包含总体均值之差。
  • UNC-4.Z.2 对两个总体均值之差的置信区间的解释应提及所抽取的样本以及它们所代表的总体的详细信息。
    • UNC-4.Z.2 示例: 对于解释两个消防站平均响应时间之差(北部 - 南部)的置信区间:“根据这些样本,我们可以有 95% 的把握认为,总体平均响应时间之差(北部 - 南部)介于 -2.37 分钟和 0.37 分钟之间”(2009年自由回答题 4)。

学习目标 UNC-4.AA: 基于两个总体均值之差的置信区间论证一项声明。[技能 4.D]

  • UNC-4.AA.1 两个总体均值之差的置信区间提供了一个数值区间,该区间可能提供充分证据以支持特定情境下的某项声明。

学习目标 UNC-4.AB: 识别样本量对两个均值之差的置信区间宽度的影响。[技能 4.A]

  • UNC-4.AB.1 在其他条件保持不变的情况下,随着样本量的增加,两个均值之差的置信区间的宽度往往会减小。

来源:College Board AP 课程与考试说明

English

If the interval for $\mu_1-\mu_2$ contains $0$, the data are consistent with equal means; if it excludes $0$, there is evidence of a difference in that direction. Interpret in context.

7.8

建立两个总体均值之差的检验

教学大纲

持久性理解 (VAR-7): $t$分布可用于建模变异。

学习目标 VAR-7.F: 为两个总体均值之差选择合适的检验方法。[技能 1.E]

  • VAR-7.F.1 对于定量变量,用于检验两个总体均值之差的适当检验是两样本 $t$检验。

学习目标 VAR-7.G: 确定两个总体均值之差的零假设和备择假设。[技能 1.F]

  • VAR-7.G.1 用于检验两个总体均值之差的两样本 $t$检验的零假设,针对 $\mu_1$ 和 $\mu_2$,为:$H_0 : \mu_1 - \mu_2 = 0$,或 $H_0 : \mu_1 = \mu_2$。备择假设为 $H_a : \mu_1 - \mu_2 < 0$,或 $H_a : \mu_1 - \mu_2 > 0$,或 $H_a : \mu_1 - \mu_2 \neq 0$,或 $H_a : \mu_1 > \mu_2$,或 $H_a : \mu_1 < \mu_2$,或 $H_a : \mu_1 \neq \mu_2$。

学习目标 VAR-7.H: 验证两个总体均值之差的显著性检验的条件。[技能 4.C]

  • VAR-7.H.1 为了在检验总体均值之间的差异时进行统计推断,我们必须检查独立性和抽样分布是否近似正态:
    • a. 个体观测值应相互独立:
      • i. 数据应使用简单随机样本或随机实验收集。
      • ii. 当无放回抽样时,需检查 $n_1 \leq 10\%N_1$ 和 $n_2 \leq 10\%N_2$。
    • b. $\overline{x}_1 - \overline{x}_2$ 的抽样分布应近似正态(形状)。
      • i. 如果观察到的分布偏斜,则 $n_1$ 和 $n_2$ 都应大于 30。
      • ii. 如果样本量小于 30,则样本数据的分布不应存在强烈的偏斜和异常值。应对 BOTH 样本进行检查。

来源:College Board AP 课程与考试说明

English

Hypotheses: $H_0:\mu_1=\mu_2$ versus $H_a:\mu_1\neq\mu_2$ (or $<,>$). Distinguish two independent samples from paired data 配对数据 – for paired data (before/after, matched subjects), first take the differences and run a one-sample $t$ procedure on them.

词汇 训练
English 中文 拼音
paired data/peəd ˈdeɪtə/ 配对数据 pèi duì shù jù
7.9

执行两个总体均值之差的检验

教学大纲

持久性理解 (VAR-7): $t$分布可用于模拟变异。

学习目标 VAR-7.I: 计算适用于两均值差异的检验统计量。[技能 3.E]

  • VAR-7.I.1 对于单个定量变量,使用来自两个总体的独立随机样本或随机实验收集的数据,且每个总体均可用正态分布建模时,$t = \dfrac{(\overline{x}_1 - \overline{x}_2) - (\mu_1 - \mu_2)}{\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}}$的抽样分布是近似的$t$分布,其自由度可以使用技术工具求得。自由度介于$n_1 - 1$和$n_2 - 1$中的较小者与$n_1 + n_2 - 2$之间。
    • VAR-7.I.1 的示例: 在一项比较两种修复前交叉韧带(ACL)撕裂手术的平均恢复时间的研究中,接受一种手术的组样本量为 110,而接受另一种手术的组样本量为 100。自由度介于 100(110 和 100 中较小的一个)和 208(110 + 100 - 2)之间。自由度可以使用技术工具确定。如果该研究的检验统计量为 $t \approx 7.13$,则$p$值是$t$分布中大于 7.13 的面积,对应的自由度为$df = 207.18$(208 年自由回答题 4)。

边界说明: 检验统计量的公式并未明确出现在 AP 统计学考试提供的 AP 统计学公式表中。但是,这些公式不需要死记硬背,因为它们可以根据通用的检验统计量公式以及公式表中提供的每种相关检验统计量的标准误公式构建出来。

持久性理解 (DAT-3): 显著性检验使我们能够在特定背景下对假设做出决策。

学习目标 DAT-3.G: 解释两总体均值差异显著性检验的$p$值。[技能 4.B]

  • DAT-3.G.1 对两总体均值差异显著性检验的$p$值的解释应认识到,$p$值是在假设零假设为真(即假设真实的总体均值彼此相等)的情况下计算的。

学习目标 DAT-3.H: 根据两总体均值差异显著性检验的结果,在特定情境下证明关于总体的主张。[技能 4.E]

  • DAT-3.H.1 正式决策将$p$值与显著性$\alpha$进行显式比较。如果$p$值$\leq \alpha$,则拒绝零假设,$H_0 : \mu_1 - \mu_2 = 0$,或$H_0 : \mu_1 = \mu_2$。如果$p$值$> \alpha$,则无法拒绝零假设。
  • DAT-3.H.2 两样本两总体均值差异显著性检验的结果可以作为统计推理,支持关于所抽样总体的研究问题的答案。

来源:College Board AP 课程与考试说明

English

The two-sample $t$ statistic:

$$t=\frac{(\bar{x}_1-\bar{x}_2)-0}{\sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}}.$$
Get the $p$-value (technology for $df$), compare to $\alpha$, conclude in context.

Worked example: two independent samples. Thirty plants get a new fertiliser and 30 different plants get the old one, assigned at random. New: $\bar x_1=24.1\ \text{cm}$, $s_1=3.2$. Old: $\bar x_2=22.0\ \text{cm}$, $s_2=3.6$.

$$t=\frac{24.1-22.0}{\sqrt{\dfrac{3.2^2}{30}+\dfrac{3.6^2}{30}}}=\frac{2.1}{0.879}=2.39,\qquad df\approx57,\qquad p\approx0.020\ \text{(two-sided)}.$$
At $\alpha=0.05$ there is convincing evidence of a difference in mean height. Because the fertiliser was randomly assigned 随机分配, the experiment supports a cause-and-effect 因果关系 conclusion: the new fertiliser causes taller plants, on average, for plants like these.

The matching $95\%$ interval uses the same standard error, with $t^*\approx2.002$ for $df\approx57$:

$$(24.1-22.0)\pm2.002(0.879)=2.1\pm1.76=(0.34,\ 3.86)\ \text{cm}.$$

It excludes $0$, which agrees with the test: the new fertiliser's mean height is plausibly between $0.34$ and $3.86$ cm greater.

词汇 训练
English 中文 拼音
randomly assigned 随机分配 suí jī fēn pèi
cause-and-effect/kɔːz ænd ɪˈfekt/ 因果关系 yīn guǒ guān xì
7.10

技能聚焦:选择、实施与表达推断方法

教学大纲

本主题旨在聚焦于选择合适的推断程序这一技能。由于学生现已掌握多种选项,应提供充分机会让他们练习何时以及如何应用所有涉及比例或均值的推断学习目标。

来源:College Board AP 课程与考试说明

English

The hardest exam skill is choosing the right procedure: one or two samples? proportion or mean? paired or independent? confidence interval or test? Read the question for what is being estimated or claimed, then name the procedure, check its conditions, carry it out, and communicate the conclusion clearly with numbers and context.

7.10

Practice

English

Answer each before reading the answers below.

  1. A random sample of 16 values has $\bar x=12.5$ and $s=2.0$. Construct a $95\%$ confidence interval for $\mu$ ($t^*=2.131$ for $df=15$).
  2. Interpret the interval from question 1 in context, for a sample of 16 phone batteries measured in hours of use.
  3. Name the procedure: (a) 20 people's reaction times, with and without caffeine; (b) heights of a random sample of 50 men and a separate random sample of 50 women; (c) the proportion of voters who support a plan.
  4. In the chip-bag test, describe a Type II error and its consequence.
  5. A student says: “The p-value of $0.012$ means there is a $1.2\%$ chance that $H_0$ is true.” Correct the student.
7.10

答案

English
  1. The standard error 标准误 is $SE=2.0/\sqrt{16}=0.50$, so $12.5\pm2.131(0.50)=12.5\pm1.07$, giving $(11.4,\ 13.6)$.
  2. We are $95\%$ confident that the interval from $11.4$ to $13.6$ hours captures the true mean battery life of all phones of this type.
  3. (a) Paired $t$ on the differences; (b) two-sample $t$ for $\mu_1-\mu_2$; (c) one-proportion $z$ procedure.
  4. Failing to find convincing evidence of underfilling when the machine really does underfill. The fault goes unfixed and customers keep receiving underweight bags.
  5. The p-value assumes $H_0$ is true. It is the probability of getting a sample mean at least as low as $27.4\ \text{g}$ if the true mean were $28.0\ \text{g}$. It says how surprising the data would be under $H_0$, not how likely $H_0$ is.
词汇 训练
English 中文 拼音
standard error/ˈstændəd ˈerə/ 标准误 biāo zhǔn wù
7.10

考试技巧

English
  • Use t-procedures for means (population $\sigma$ unknown) — the t-distribution has heavier tails than normal.
  • Check conditions: random, independent, and roughly normal (or large $n$).
  • Interpret an interval and a test in context, always tied to the parameter (the true mean).
  • Match the right procedure: one-sample, two-sample, or paired (look for a natural pairing).
  • State the degrees of freedom; for a two-sample $t$-test use technology's value (or, by hand, the conservative smaller $n-1$).

该知识点的互动课程

逐步完成,配合即时检查练习。

历年真题

更多 AP 统计学 知识点

登录或创建账户

IGCSE, A-Level & AP