跳到主要内容

抽样分布

AP 统计学 · 知识点 5

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

抽样分布

两千年学生就读此校,其中部分人骑车上学。我们想知道其占比。无人能询问全部两千名学生,故随机抽取一百名。…

英语旁白 · 英中内嵌字幕

5.1

统计学导论:为什么我的样本与你的不同?

教学大纲

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

学习目标 VAR-1.G: 识别由从同一总体中收集的样本产生的统计变异所提出的问题。[技能 1.A]

  • VAR-1.G.1 从同一总体中抽取的样本在统计学上的变异可能是随机的,也可能不是随机的。

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

English

A statistic 统计量 (like a sample mean 样本均值 $\bar{x}$ or sample proportion 样本比例 $\hat{p}$) is computed from a sample and varies from sample to sample – this is sampling variability 抽样变异性. A parameter 参数 ($\mu$ or $p$) is the fixed truth about the population 总体. The sampling distribution 抽样分布 is the distribution of a statistic over all possible samples of a given size – it is the bridge from one sample to inference 推断.

Five random samples from one population give five different sample proportions
Five random samples from one population give five different sample proportions
词汇 训练
English 中文 拼音
statistic/stəˈtɪstɪk/ 统计量 tǒng jì liàng
sample mean/ˈsæmpl miːn/ 样本均值 yàng běn jūn zhí
sample proportion/ˈsæmpl prəˈpɔːʃn/ 样本比例 yàng běn bǐ lì
sampling variability/ˈsæmplɪŋ ˌveərɪəˈbɪlɪti/ 抽样变异性 chōu yàng biàn yì xìng
parameter/pəˈræmɪtə/ 参数 cān shù
population/ˌpɒpjʊˈleɪʃn/ 总体 zǒng tǐ
sampling distribution/ˈsæmplɪŋ ˌdɪstrɪˈbjuːʃn/ 抽样分布 chōu yàng fēn bù
inference/ˈɪnfərəns/ 推断 tuī duàn
5.2

再探正态分布

教学大纲

持久性理解 (VAR-6): 正态分布可用于建模变异。

学习目标 VAR-6.A: 计算特定值落在正态分布给定区间内的概率。[技能 3.A]

  • VAR-6.A.1 连续随机变量是一个可以在指定定义域内取任意值的变量。定义域内的每个区间都关联着一个概率。
  • VAR-6.A.2 具有正态分布的连续随机变量常用于描述总体。正态随机变量的分布可以用正态或“钟形”曲线来描述。
  • VAR-6.A.3 正态曲线下给定区间的面积代表特定值落在该区间内的概率。
    • VAR-6.A 的示例: 连续随机变量:如果在随机时间看时钟,分针位于数字 3 和 6 之间的概率是四分之一。

学习目标 VAR-6.B: 确定正态分布中给定面积所对应的区间。[技能 3.A]

  • VAR-6.B.1 可以使用 $z$ 分数或技术(如计算器、标准正态表或计算机生成的输出)来确定正态分布中给定面积所对应区间的边界。
  • VAR-6.B.2 可以通过为区间边界分配适当的不等式来确定正态分布中给定面积所对应的区间:
    • a. $P(X < x_a) = \dfrac{p}{100}$ 意味着最低的 $p\%$ 的值位于 $x_a$ 的左侧。
    • b. $P(x_a < X < x_b) = \dfrac{p}{100}$ 意味着 $p\%$ 的值位于 $x_a$ 和 $x_b$ 之间。
    • c. $P(X > x_b) = \dfrac{p}{100}$ 意味着最高的 $p\%$ 的值位于 $x_b$ 的右侧。
    • d. 确定最极端的 $p\%$ 的值需要将与 $p\%$ 相关联的面积在分布的两端极端部分各分为相等的两半:$P(X < x_a) = \dfrac{1}{2}\dfrac{p}{100}$ 和 $P(X > x_b) = \dfrac{1}{2}\dfrac{p}{100}$ 意味着一半的 $p\%$ 最极端的值位于 $x_a$ 的左侧,另一半的 $p\%$ 最极端的值位于 $x_b$ 的右侧。

学习目标 VAR-6.C: 确定使用正态分布近似未知分布概率的适当性。[技能 3.C]

  • VAR-6.C.1 正态分布是对称且“钟形”的。因此,正态分布可用于近似具有相似特征的分布。

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

English
The normal distribution

For large enough samples, many sampling distributions are approximately normal 正态的. That lets us describe a statistic by a center 中心 (its mean), a spread 离散程度 (its standard error 标准误), and a normal shape – and then compute how likely a given sample result is.

探索

使用正态曲线查找比例

正态模型将一系列值转化为面积 = 比例。阴影显示一个区间以读出落在其中的样本分数(68-95-99.7 法则)。

词汇 训练
English 中文 拼音
normal/ˈnɔːml/ 正态的 zhèng tài de
center/ˈsentə/ 中心 zhōng xīn
spread/spred/ 离散程度 lí sàn chéng dù
standard error/ˈstændəd ˈerə/ 标准误 biāo zhǔn wù
5.3

中心极限定理

教学大纲

持久理解 (UNC-3): 概率推理使我们能够预见数据中的模式。

学习目标 UNC-3.H: 使用模拟估计抽样分布。[技能 3.C]

  • UNC-3.H.1 统计量的抽样分布是指从给定总体中抽取所有可能大小的样本时,该统计量所有取值的分布。
  • UNC-3.H.2 中心极限定理 (CLT) 指出,当样本量足够大时,随机变量均值的抽样分布近似服从正态分布。
  • UNC-3.H.3 应用中心极限定理需要满足样本值相互独立且 $n$ 足够大的条件。
  • UNC-3.H.4 随机化分布是指在假设参数已知值的情况下,通过模拟生成的一系列统计量集合。对于随机实验而言,这意味着反复随机重新分配/重新指派响应值到处理组。
  • UNC-3.H.5 可以通过从总体中生成重复的随机样本来模拟统计量的抽样分布。

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

English
The Central Limit Theorem

The Central Limit Theorem 中心极限定理 (CLT): for independent 独立 observations from the same population with finite, positive variance 方差, the sampling distribution of a sample mean becomes approximately normal as $n$ increases. A strongly skewed 偏斜 population may need a much larger sample than $30$; there is no universal sample-size cutoff. The standard error decreases as $n$ increases.

The sample mean is nearly normal whatever the shape of the population
The sample mean is nearly normal whatever the shape of the population
探索

原始观测值与重复抽样的样本均值

$E(\bar X)=\mu,\quad \mathrm{SD}(\bar X)=\sigma/\sqrt n$

总体保持不变,而样本均值的分布随样本量变化。这里使用示意性的独立抽样模型;增大n并不会使原始数据变为正态。

词汇 训练
English 中文 拼音
Central Limit Theorem/ˈsentrəl ˈlɪmɪt ˈθɪərəm/ 中心极限定理 zhōng xīn jí xiàn dìng lǐ
independent/ˌɪndɪˈpendənt/ 独立 dú lì
variance/ˈveərɪəns/ 方差 fāng chà
skewed/skjuːd/ 偏斜 piān xié
5.4

有偏与无偏点估计

教学大纲

持久理解 (UNC-3): 概率推理使我们能够预测数据中的模式。

学习目标 UNC-3.I: 解释估计量为何是无偏的或不是无偏的。[技能 4.B]

  • UNC-3.I.1 在估计总体参数时,如果估计量的值在平均意义上等于该总体参数,则该估计量是无偏的。

学习目标 UNC-3.J: 计算总体参数的估计值。[技能 3.B]

  • UNC-3.J.1 在估计总体参数时,估计量表现出可以用概率模型来描述的变异性。
  • UNC-3.J.2 样本统计量是对应总体参数的点估计量。

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

English

A statistic is unbiased 无偏 if the mean of its sampling distribution equals the parameter – it is correct on average. Bias 偏差 is about the center being off; variability 变异性 is about the spread. A good estimator 估计量 is both unbiased (centered right) and low-variability (precise 精确的); larger samples reduce variability but do not fix bias from bad sampling.

Four sampling distributions crossing bias with variability, against the true parameter
Bias and variability are separate faults. Only the top-left estimator is both centered on $\theta$ and tight; the bottom-left one is precise but consistently wrong, which no amount of extra data will fix.
词汇 训练
English 中文 拼音
unbiased/ʌnˈbaɪəst/ 无偏 wú piān
Bias/ˈbaɪəs/ 偏差 piān chā
variability/ˌveərɪəˈbɪlɪti/ 变异性 biàn yì xìng
estimator 估计量 gū jì liàng
precise/prɪˈsaɪs/ 精确的 jīng què de
5.5

样本比例的抽样分布

教学大纲

持久理解 (UNC-3): 概率推理使我们能够预测数据中的模式。

学习目标 UNC-3.K: 确定样本比例抽样分布的参数。[技能 3.B]

  • UNC-3.K.1 对于来自总体比例为 $p$ 的总体的分类变量的独立样本(有放回抽样),样本比例 $\hat{p}$ 的抽样分布具有均值 $\mu_{\hat{p}} = p$ 和标准差 $\sigma_{\hat{p}} = \sqrt{\dfrac{p(1-p)}{n}}$。
  • UNC-3.K.2 如果为无放回抽样,则样本比例的标准差小于上述公式给出的值。如果样本量小于总体量的 10%,这种差异可以忽略不计。

学习目标 UNC-3.L: 判断样本比例的抽样分布是否可以描述为近似正态分布。[技能 3.C]

  • UNC-3.L.1 对于分类变量,只要样本量足够大,样本比例 $\hat{p}$ 的抽样分布将具有近似正态分布:$np \geq 10$ 且 $n(1-p) \geq 10$。

学习目标 UNC-3.M: 解释样本比例抽样分布的概率和参数。[技能 4.B]

  • UNC-3.M.1 样本比例抽样分布的概率和参数应使用适当的单位并在特定总体背景下进行解释。

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

English

For a sample proportion $\hat{p}$ from an SRS 简单随机样本: the mean is $p$ (unbiased), and the standard deviation 标准差 is

$$\sigma_{\hat p}=\sqrt{\frac{p(1-p)}{n}}.$$
This spread is the standard error: the standard deviation of the statistic's sampling distribution. When $p$ is unknown, replace it by $\hat p$ to estimate that standard error, as in the later inference units. It is approximately normal when $np\ge 10$ and $n(1-p)\ge 10$ (the Large Counts condition 大计数条件), and the $10\%$ condition ($n\le 0.10N$) keeps the observations near-independent.

Worked example. Suppose $40\%$ of voters favor a measure ($p=0.4$) and you sample $n=100$. The standard error is $\sigma_{\hat p}=\sqrt{\dfrac{0.4(0.6)}{100}}=0.049$. The chance a sample gives $\hat{p}>0.5$ is $z=\dfrac{0.5-0.4}{0.049}=2.04$, so $P(\hat p>0.5)\approx0.02$ – a majority in the sample would be surprising.

Common mistakes. Checking “$n\ge30$” for a proportion: that rule belongs to means; for $\hat p$ check $np\ge10$ and $n(1-p)\ge10$ (here $40$ and $60$). Treating the $10\%$ condition as a normality check: it keeps the observations close to independent, so the formula for $\sigma_{\hat p}$ is valid.

The sampling distribution of p̂ is centred at p with standard deviation √(p(1−p)/n)
The sampling distribution of p̂ is centred at p with standard deviation √(p(1−p)/n)
词汇 训练
English 中文 拼音
SRS 简单随机样本 jiǎn dān suí jī yàng běn
standard deviation/ˈstændəd ˌdiːvɪˈeɪʃn/ 标准差 biāo zhǔn chà
Large Counts condition/lɑːdʒ kaʊnts kənˈdɪʃn/ 大计数条件 dà jì shù tiáo jiàn
5.6

样本比例之差的抽样分布

教学大纲

持久理解 (UNC-3): 概率推理使我们能够预测数据中的模式。

学习目标 UNC-3.N: 确定样本比例之差抽样分布的参数。[技能 3.B]

  • UNC-3.N.1 对于分类变量,当从两个具有总体比例 $p_1$ 和 $p_2$ 的独立总体中进行有放回随机抽样时,样本比例之差 $\hat{p}_1 - \hat{p}_2$ 的抽样分布具有均值 $\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2$ 和标准差 $\sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\dfrac{p_1(1-p_1)}{n_1} + \dfrac{p_2(1-p_2)}{n_2}}$。
  • UNC-3.N.2 若为无放回抽样,则样本比例之差的标准差小于上述公式给出的值。如果样本量小于总体量的 10%,这种差异可以忽略不计。

学习目标 UNC-3.O: 判断样本比例之差的抽样分布是否可描述为近似正态分布。[技能 3.C]

  • UNC-3.O.1 只要样本量足够大,即满足 $n_1 p_1 \geq 10, n_1(1-p_1) \geq 10, n_2 p_2 \geq 10, n_2(1-p_2) \geq 10$,样本比例之差 $\hat{p}_1 - \hat{p}_2$ 的抽样分布将呈现近似正态分布。

学习目标 UNC-3.P: 解释样本比例之差抽样分布的概率和参数。[技能 4.B]

  • UNC-3.P.1 样本比例之差的抽样分布参数应使用适当的单位并结合具体总体的背景进行解释。

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

English

For $\hat{p}_1-\hat{p}_2$ from two independent samples: the mean is $p_1-p_2$, and because the samples are independent the variances add 方差相加:

$$\sigma_{\hat p_1-\hat p_2}=\sqrt{\frac{p_1(1-p_1)}{n_1}+\frac{p_2(1-p_2)}{n_2}}.$$
It is approximately normal when the Large Counts condition holds in both samples.

Worked example. In town 1, $60\%$ of adults cycle to work; in town 2, $50\%$. Independent random samples of $100$ adults are taken from each town. How likely is it that the town 1 sample shows a lower proportion than town 2?

The mean of $\hat p_1-\hat p_2$ is $0.6-0.5=0.10$, and

$$\sigma_{\hat p_1-\hat p_2}=\sqrt{\frac{0.6(0.4)}{100}+\frac{0.5(0.5)}{100}}=\sqrt{0.0049}=0.07.$$

Large Counts: $60$, $40$, $50$ and $50$ are all at least $10$, so use a normal model. $z=\dfrac{0-0.10}{0.07}\approx-1.43$, so $P(\hat p_1-\hat p_2<0)\approx 0.077$. About $8\%$ of such pairs of samples would put town 1 behind, even though town 1 really is ahead.

The distribution of p̂₁ − p̂₂: centres subtract and variances add
The distribution of p̂₁ − p̂₂: centres subtract and variances add
词汇 训练
English 中文 拼音
variances add 方差相加 fāng chà xiāng jiā
5.7

样本均值的抽样分布

教学大纲

持久理解 (UNC-3): 概率推理使我们能够预测数据中的模式。

学习目标 UNC-3.Q: 确定样本均值抽样分布的参数。[技能 3.B]

  • UNC-3.Q.1 对于数值变量,当从总体(均值为 $\mu$,标准差为 $\sigma$)中进行有放回随机抽样时,样本均值的抽样分布的均值为 $\mu_{\bar{x}} = \mu$,标准差为 $\sigma_{\bar{x}} = \dfrac{\sigma}{\sqrt{n}}$。
  • UNC-3.Q.2 如果是无放回抽样,样本均值的标准差小于上述公式给出的值。如果样本量小于总体量的 10%,则这种差异可以忽略不计。

学习目标 UNC-3.R: 判断样本均值的抽样分布是否可以描述为近似正态分布。[技能 3.C]

  • UNC-3.R.1 对于数值变量,如果总体分布可以用正态分布来建模,那么样本均值 $\bar{x}$ 的抽样分布也可以用正态分布来建模。
  • UNC-3.R.2 对于数值变量,如果总体分布不能用正态分布来建模,只要样本量足够大(例如大于或等于 30),样本均值 $\bar{x}$ 的抽样分布就可以用正态分布进行近似建模。

学习目标 UNC-3.S: 解释样本均值抽样分布的概率和参数。[技能 4.B]

  • UNC-3.S.1 样本均值抽样分布的概率和参数应使用适当的单位并结合特定总体的背景进行解释。

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

English

For a sample mean $\bar{x}$ from an SRS: the mean is $\mu$ (unbiased), and the standard deviation is

$$\sigma_{\bar x}=\frac{\sigma}{\sqrt{n}}.$$
Its shape is normal if the population is normal, or approximately normal for large $n$ by the CLT. Note the spread shrinks like $\sqrt{n}$ – quadrupling the sample halves the standard error.

Worked example. A population has $\mu=70$ and $\sigma=12$. For samples of $n=36$, the sampling distribution of $\bar{x}$ is centered at $70$ with standard error $\dfrac{12}{\sqrt{36}}=2$. The chance a sample mean exceeds $73$ is $z=\dfrac{73-70}{2}=1.5$, so $P(\bar x>73)\approx0.067$.

Common mistakes. Using $\sigma=12$ instead of $\sigma_{\bar x}=2$ for a question about a mean of $36$ values. For one individual, $z=(73-70)/12=0.25$ and $P(X>73)\approx0.40$: a single value above $73$ is common, a sample mean above $73$ is not. Saying the CLT makes the population (or the sample) normal: it is the sampling distribution of $\bar x$ that becomes approximately normal.

The sampling distribution of the mean narrows and becomes more normal as n grows
The population on the left is strongly skewed, yet every sampling distribution of $\bar{x}$ is centered at $\mu$. A larger $n$ shrinks the standard error $\sigma/\sqrt{n}$, so the curve gets taller and narrower – and it also straightens: still clearly skewed at $n=2$, almost exactly normal (dashed) by $n=30$.
探索

个体的离散程度与样本均值的离散程度

$\mathrm{SD}(\bar X)=\sigma/\sqrt n$

样本量n改变标准误,不改变总体标准差。计算正态概率需要明确的分布模型。

5.8

样本均值之差的抽样分布

教学大纲

持久理解 (UNC-3): 概率推理使我们能够预测数据中的模式。

学习目标 UNC-3.T: 确定样本均值之差抽样分布的参数。[技能 3.B]

  • UNC-3.T.1 对于数值变量,当从两个独立的总体中(总体均值分别为 $\mu_1$ 和 $\mu_2$,总体标准差分别为 $\sigma_1$ 和 $\sigma_2$)进行有放回随机抽样时,样本均值之差 $\bar{x}_1 - \bar{x}_2$ 的抽样分布的均值为 $\mu_{(\bar{x}_1 - \bar{x}_2)} = \mu_1 - \mu_2$,标准差为 $\sigma_{(\bar{x}_1 - \bar{x}_2)} = \sqrt{\dfrac{\sigma_1^2}{n_1} + \dfrac{\sigma_2^2}{n_2}}$。
  • UNC-3.T.2 如果是无放回抽样,样本均值之差的标准差会小于上述公式给出的值。如果样本量小于总体量的 10%,这种差异可以忽略不计。

学习目标 UNC-3.U: 判断样本均值之差的抽样分布是否可以近似为正态分布。[技能 3.C]

  • UNC-3.U.1 如果两个总体的分布都可以用正态分布来建模,则样本均值之差 $\bar{x}_1 - \bar{x}_2$ 的抽样分布也可以用正态分布来建模。
  • UNC-3.U.2 如果两个总体的分布不能用正态分布来建模,但两个样本量都大于或等于 30,则样本均值之差 $\bar{x}_1 - \bar{x}_2$ 的抽样分布可以用正态分布近似建模。

学习目标 UNC-3.V: 解释样本均值之差抽样分布的概率和参数。[技能 4.B]

  • UNC-3.V.1 样本均值之差的抽样分布的概率和参数应使用适当的单位并结合具体总体的背景进行解释。

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

English

For $\bar{x}_1-\bar{x}_2$ from two independent samples: the mean is $\mu_1-\mu_2$, and (independent, so variances add)

$$\sigma_{\bar x_1-\bar x_2}=\sqrt{\frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2}}.$$
This is the foundation for two-sample inference in the next units.

The distribution of x̄₁ − x̄₂: centres subtract and variances add
The distribution of x̄₁ − x̄₂: centres subtract and variances add

Worked example. Machine 1 fills bottles with $\mu_1=500\ \text{mL}$ and $\sigma_1=4\ \text{mL}$; machine 2 with $\mu_2=498\ \text{mL}$ and $\sigma_2=3\ \text{mL}$. Both fill amounts are normal. Independent random samples of $16$ bottles from machine 1 and $9$ from machine 2 are taken. The mean of $\bar x_1-\bar x_2$ is $500-498=2\ \text{mL}$, and

$$\sigma_{\bar x_1-\bar x_2}=\sqrt{\frac{4^2}{16}+\frac{3^2}{9}}=\sqrt{1+1}\approx1.41\ \text{mL}.$$

Both populations are normal, so the difference is normal even for these small samples. The machine 2 sample has the larger mean when $\bar x_1-\bar x_2<0$:

$$z=\frac{0-2}{1.41}\approx-1.41,\qquad P(\bar x_1-\bar x_2<0)\approx0.079.$$

The variances add even though the means subtract: $1+1$ under the square root, never $1-1$.

5.8

Practice

English

Answer each before reading the answers below.

  1. A population proportion is $p=0.30$ and samples of $n=50$ are taken. Give the mean and standard deviation of $\hat p$, and check the Large Counts condition.
  2. A population has $\mu=100$ and $\sigma=15$. For samples of $n=25$, find $P(\bar x>106)$.
  3. By what factor must the sample size grow to halve the standard deviation of $\bar x$?
  4. A population of incomes is strongly right-skewed. Is $\bar x$ approximately normal for samples of $n=5$? For $n=50$?
  5. A student says: "A bigger sample removes bias." Correct the student.
5.8

答案

English
  1. Mean $0.30$; standard deviation $\sqrt{0.30(0.70)/50}=0.065$. Large Counts: $np=15$ and $n(1-p)=35$, both at least 10.
  2. $\sigma_{\bar x}=15/\sqrt{25}=3$, so $z=\dfrac{106-100}{3}=2.0$ and $P(\bar x>106)\approx0.023$.
  3. Four times as large, because $\sigma_{\bar x}=\sigma/\sqrt n$.
  4. Not for $n=5$: with a skewed population, a small sample's mean is still skewed. For $n=50$, probably yes: $n\ge 30$ is the usual AP guideline, so by the Central Limit Theorem $\bar x$ is approximately normal. An extremely skewed population (a few huge incomes) could still need a larger sample.
  5. A larger sample reduces variability (the spread of the sampling distribution), not bias (where its center sits). A biased method such as a voluntary-response 自愿回应 poll stays biased, however large.
词汇 训练
English 中文 拼音
voluntary-response 自愿回应 zì yuàn huí yìng
5.8

考试技巧

English
  • A sampling distribution describes a statistic over repeated samples. It is centered on the true parameter when the statistic is unbiased.
  • The Central Limit Theorem: for a large enough sample the sample mean is approximately normal, even if the population is not.
  • Larger samples give less variability (a smaller standard error).
  • Check the conditions (random, independent/10%, large enough) before using a normal model.
  • Keep straight what varies — the statistic — versus the fixed parameter.

该知识点的互动课程

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

历年真题

更多 AP 统计学 知识点

登录或创建账户

IGCSE, A-Level & AP