$X \sim N(30, 1.5^2)$ ml espresso shots; sample-mean distribution, sample-size threshold, sum of two shots, then a sentence on the CLT.浓缩咖啡单杯体积 $X \sim N(30, 1.5^2)$ ml;样本均值的抽样分布(sampling distribution)、样本量阈值、两杯之和,最后用一句话陈述中心极限定理(central limit theorem,CLT)。
Answers:答案: (a) $\bar X \sim N(30,\, 2.25/n)$ · (b) $\approx 0.317$ · (c) $n = 60$ · (d) $T \sim N(60,\,4.5)$, $P(T < 58) \approx 0.173$ · (e) halving SE requires $4\times$ the sample size使 SE 减半需要样本量扩大 $4$ 倍 · (f) Central Limit Theorem中心极限定理
Lemma (used throughout) R1
For $n$ independent draws of $X \sim N(\mu, \sigma^{2})$:
$$ \bar X \;=\; \frac{1}{n}\sum_{i=1}^{n} X_{i} \;\sim\; N\!\left(\mu,\; \frac{\sigma^{2}}{n}\right), \qquad \text{SE}(\bar X) \;=\; \frac{\sigma}{\sqrt{n}}. $$
Sum is also normal: $\sum_{i=1}^{n} X_{i} \sim N(n\mu, n\sigma^{2})$.
(a) Distribution of $\bar X$ A1·A1
$$ \bar X \;\sim\; N\!\left(30,\; \frac{1.5^{2}}{n}\right) \;=\; \boxed{N\!\left(30,\; \frac{2.25}{n}\right)}. $$
Mean $30$, variance $2.25/n$, standard error $1.5/\sqrt{n}$.
(b) $n = 9$ tail probability M1·M1·A1
$\sigma_{\bar X} = 1.5/\sqrt{9} = 0.5$. Standardise:
$$ P(|\bar X - 30| > 0.5) \;=\; P\!\left(|Z| > \dfrac{0.5}{0.5}\right) \;=\; P(|Z| > 1) \;=\; 2\bigl(1 - \Phi(1)\bigr) \;=\; 2(1 - 0.8413) \;\approx\; \boxed{0.317}. $$
So nearly $1$ in $3$ samples of $9$ shots will already mis-estimate the mean by more than $0.5$ ml — calling for a bigger sample (part c).
(c) Smallest $n$ for tail $\le 0.01$ M1·M1·A1
$\sigma_{\bar X} = 1.5/\sqrt{n}$, so
$$ P(|\bar X - 30| > 0.5) \;=\; 2\!\left(1 - \Phi\!\left(\dfrac{0.5\sqrt{n}}{1.5}\right)\right) \;=\; 2\!\left(1 - \Phi\!\left(\dfrac{\sqrt{n}}{3}\right)\right) \;\le\; 0.01. $$
Need $\Phi(\sqrt{n}/3) \ge 0.995 \;\Leftrightarrow\; \sqrt{n}/3 \ge z_{0.995} \approx 2.5758$, so
$$ \sqrt{n} \;\ge\; 3 \cdot 2.5758 \;\approx\; 7.7274 \;\Longrightarrow\; n \;\ge\; 59.71. $$
GDC iteration:
| $n$ | $\sigma_{\bar X}$ | $z = 0.5/\sigma_{\bar X}$ | tail $= 2(1-\Phi(z))$ |
| $59$ | $0.1953$ | $2.560$ | $\approx 0.0105$ (fails) |
| $60$ | $0.1936$ | $2.582$ | $\approx 0.0098$ (succeeds) |
Smallest $n = \boxed{60}$.
(d) Double-shot $T = X_{1} + X_{2}$ A1·M1·A1
Independent normals sum to normal: $T \sim N(30 + 30,\; 1.5^{2} + 1.5^{2}) = \boxed{N(60,\, 4.5)}$, so $\sigma_{T} = \sqrt{4.5} \approx 2.121$.
$$ P(T < 58) \;=\; P\!\left(Z < \dfrac{58 - 60}{2.121}\right) \;=\; P(Z < -0.9428) \;=\; 1 - \Phi(0.9428) \;\approx\; \boxed{0.173}. $$
(e) $1/n$ vs $1/\sqrt{n}$ scaling R1·A1
Variance is a sum of squared deviations divided by $n$; that division produces the $1/n$ factor in $\text{Var}(\bar X)$. The standard error is the square root of the variance, which exchanges $1/n$ for $1/\sqrt{n}$.
Practical consequence: to halve $\text{SE}(\bar X) = \sigma/\sqrt{n}$, you need $\sqrt{n}$ to double, so $n$ must
quadruple. Precision is expensive — the diminishing-returns curve in sample-size planning starts here.
(f) Central Limit Theorem A1·R1·R1
For any distribution with finite mean $\mu$ and finite variance $\sigma^{2}$, the sample mean of $n$ i.i.d. draws satisfies
$$ \bar X \;\xrightarrow{d}\; N\!\left(\mu,\; \frac{\sigma^{2}}{n}\right) \qquad \text{as } n \to \infty. $$
This is the
Central Limit Theorem. For uniform$[28, 32]$ shots: $\mu = 30$, $\sigma^{2} = 4^{2}/12 = 4/3$, so $\bar X \approx N(30,\; (4/3)/n)$ for large $n$.
Intuition: the original distribution's odd shape is built from many small independent contributions whose deviations cancel in proportions controlled only by the variance; the shape information washes out, and the only thing the limit "remembers" about each individual is its variance — hence the same Gaussian limit regardless of starting distribution.
Why this matters beyond bottle-fill. The CLT is what lets confidence intervals like $\bar X \pm 1.96\,\text{SE}$ work in practice even when $X$'s distribution is unknown — provided $n$ is "large enough" (rule of thumb: $n \ge 30$, much smaller if the underlying distribution is close to symmetric). The price you pay is that precision grows only as $\sqrt{n}$: in (c), going from a tail probability of $0.317$ at $n = 9$ down to $0.01$ at $n = 60$ took a $\sim 7\times$ increase in sample size for a $\sim 30\times$ tightening in the tail, exactly because $z = 0.5/(\sigma/\sqrt{n})$ scales with $\sqrt{n}$, not $n$.
引理(贯穿全题使用) R1
对 $X \sim N(\mu, \sigma^{2})$ 进行 $n$ 次独立抽样:
$$ \bar X \;=\; \frac{1}{n}\sum_{i=1}^{n} X_{i} \;\sim\; N\!\left(\mu,\; \frac{\sigma^{2}}{n}\right), \qquad \text{SE}(\bar X) \;=\; \frac{\sigma}{\sqrt{n}}. $$
和也是正态的:$\sum_{i=1}^{n} X_{i} \sim N(n\mu, n\sigma^{2})$。
(a) $\bar X$ 的分布 A1·A1
$$ \bar X \;\sim\; N\!\left(30,\; \frac{1.5^{2}}{n}\right) \;=\; \boxed{N\!\left(30,\; \frac{2.25}{n}\right)}. $$
均值 $30$、方差 $2.25/n$、标准误(
standard error,
SE)$1.5/\sqrt{n}$。
(b) $n = 9$ 时的尾概率 M1·M1·A1
$\sigma_{\bar X} = 1.5/\sqrt{9} = 0.5$。标准化:
$$ P(|\bar X - 30| > 0.5) \;=\; P\!\left(|Z| > \dfrac{0.5}{0.5}\right) \;=\; P(|Z| > 1) \;=\; 2\bigl(1 - \Phi(1)\bigr) \;=\; 2(1 - 0.8413) \;\approx\; \boxed{0.317}. $$
也就是说,$9$ 杯的样本中近 $1/3$ 的次数对均值的估计就会偏离 $0.5$ ml 以上 —— 这就需要更大的样本(见 (c))。
(c) 使尾概率 $\le 0.01$ 的最小 $n$ M1·M1·A1
$\sigma_{\bar X} = 1.5/\sqrt{n}$,所以
$$ P(|\bar X - 30| > 0.5) \;=\; 2\!\left(1 - \Phi\!\left(\dfrac{0.5\sqrt{n}}{1.5}\right)\right) \;=\; 2\!\left(1 - \Phi\!\left(\dfrac{\sqrt{n}}{3}\right)\right) \;\le\; 0.01. $$
要求 $\Phi(\sqrt{n}/3) \ge 0.995 \;\Leftrightarrow\; \sqrt{n}/3 \ge z_{0.995} \approx 2.5758$,所以
$$ \sqrt{n} \;\ge\; 3 \cdot 2.5758 \;\approx\; 7.7274 \;\Longrightarrow\; n \;\ge\; 59.71. $$
GDC 迭代:
| $n$ | $\sigma_{\bar X}$ | $z = 0.5/\sigma_{\bar X}$ | tail $= 2(1-\Phi(z))$ |
| $59$ | $0.1953$ | $2.560$ | $\approx 0.0105$ (不满足) |
| $60$ | $0.1936$ | $2.582$ | $\approx 0.0098$ (满足) |
最小的 $n = \boxed{60}$。
(d) 双份 $T = X_{1} + X_{2}$ A1·M1·A1
独立正态分布之和仍为正态:$T \sim N(30 + 30,\; 1.5^{2} + 1.5^{2}) = \boxed{N(60,\, 4.5)}$,因此 $\sigma_{T} = \sqrt{4.5} \approx 2.121$。
$$ P(T < 58) \;=\; P\!\left(Z < \dfrac{58 - 60}{2.121}\right) \;=\; P(Z < -0.9428) \;=\; 1 - \Phi(0.9428) \;\approx\; \boxed{0.173}. $$
(e) $1/n$ 与 $1/\sqrt{n}$ 的衰减对比 R1·A1
方差是偏差平方之和再除以 $n$,这个除法直接给 $\text{Var}(\bar X)$ 带来 $1/n$ 的因子。标准误是方差的算术平方根,于是把 $1/n$ 换成了 $1/\sqrt{n}$。
实际后果:要把 $\text{SE}(\bar X) = \sigma/\sqrt{n}$ 减半,需要 $\sqrt{n}$ 翻倍,即 $n$ 必须
扩大 $4$ 倍。精度是昂贵的 —— 样本量规划中的"边际效益递减"曲线就从这里开始。
(f) 中心极限定理 A1·R1·R1
对均值 $\mu$ 与方差 $\sigma^{2}$ 都有限的任意分布,$n$ 个独立同分布样本的样本均值满足
$$ \bar X \;\xrightarrow{d}\; N\!\left(\mu,\; \frac{\sigma^{2}}{n}\right) \qquad \text{当 } n \to \infty。 $$
这就是
中心极限定理。对 $[28, 32]$ 上均匀分布的单杯:$\mu = 30$,$\sigma^{2} = 4^{2}/12 = 4/3$,所以大 $n$ 时 $\bar X \approx N(30,\; (4/3)/n)$。
直观理解:原分布奇特的形状由许多小而独立的贡献叠加而成,这些贡献的偏差只按方差控制的比例相互抵消;形状信息被"洗掉",极限只"记住"每个个体的方差 —— 因此无论起始分布形态如何,极限都是同一族高斯分布。
这件事在牛奶灌装之外为何也重要。正是中心极限定理(CLT)让形如 $\bar X \pm 1.96\,\text{SE}$ 的置信区间(confidence interval,CI)在实际中可用 —— 即便不知道 $X$ 的分布形态,只要 $n$ "足够大"(经验法则:$n \ge 30$,若原分布接近对称则更小即可)。代价是精度仅按 $\sqrt{n}$ 增长:在 (c) 中将尾概率从 $n = 9$ 时的 $0.317$ 压到 $n = 60$ 时的 $0.01$,样本量约扩 $7$ 倍而尾概率约缩 $30$ 倍 —— 正因为 $z = 0.5/(\sigma/\sqrt{n})$ 与 $\sqrt{n}$ 同阶,而非与 $n$ 同阶。
Where this goes wrong.错在哪里。 (a) A natural slip is to keep the variance of a single shot, writing $\bar X\sim N(30,1.5^2)$ or $N(30,2.25)$ instead of dividing the variance by $n$. (b) For $n=9$, a common mistake is to use $1.5/9=0.167$ instead of $1.5/\sqrt9=0.5$, which gives $z=3$ and a tail about $0.003$ rather than $0.317$. (c) A typical error is to use $z_{0.99}$ for the two sided event, which leads to $n\approx49$ instead of the required $60$.(a) 一个常见失误是保留单个样本的方差,写成 $\bar X\sim N(30,1.5^2)$ 或 $N(30,2.25)$,而没有把方差除以 $n$。 (b) 当 $n=9$ 时,常见错误是把 $1.5/9=0.167$ 当作标准差,而不是 $1.5/\sqrt9=0.5$,这样会得到 $z=3$,尾概率约为 $0.003$,而不是 $0.317$。 (c) 一个典型错误是把双侧事件当成单侧事件,用 $z_{0.99}$,这样会得到 $n\approx49$,而不是所需的 $60$。
Markscheme, 16 marks.评分标准,共 16 分。 (a) 1: identifies mean $30$ and variance $2.25/n$ for $\bar X$ (A1) · 1: writes $\bar X\sim N(30,2.25/n)$ or equivalent using $\mu$ and $\sigma$ (A1) · (b) 1: uses $\sigma_{\bar X}=1.5/\sqrt9=0.5$ (M1) · 1: standardises to $|Z|\gt 1$ (M1) · 1: obtains $2(1-\Phi(1))\approx0.317$ (A1) · (c) 1: sets up $2(1-\Phi(\sqrt n/3))\le0.01$ or equivalent (M1) · 1: uses $z_{0.995}\approx2.5758$ to get $\sqrt n/3\ge2.5758$ (M1) · 1: concludes the smallest $n=60$ after checking the inequality (A1) · (d) 1: states $T\sim N(60,4.5)$ (A1) · 1: standardises with $\sigma_T=\sqrt{4.5}$ and $z\approx-0.943$ (M1) · 1: obtains $P(T\lt 58)\approx0.173$ (A1) · (e) 1: explains that variance scales by $1/n$, so the standard error scales by $1/\sqrt n$ after taking the square root (R1) · 1: concludes halving the standard error requires $n$ to quadruple (A1) · (f) 1: states the Central Limit Theorem as the limiting normal law for $\bar X$ (A1) · 1: notes the limit is approximately normal even for non normal data with finite variance (R1) · 1: gives the intuition that averaging cancels irregularity and leaves the bell shape (R1)(a) 1 分:认出 $\bar X$ 的均值为 $30$,方差为 $2.25/n$ (A1) · 1 分:写出 $\bar X\sim N(30,2.25/n)$,或等价地用 $\mu$ 和 $\sigma$ 表示 (A1) · (b) 1 分:使用 $\sigma_{\bar X}=1.5/\sqrt9=0.5$ (M1) · 1 分:标准化到 $|Z|\gt 1$ (M1) · 1 分:得到 $2(1-\Phi(1))\approx0.317$ (A1) · (c) 1 分:列出 $2(1-\Phi(\sqrt n/3))\le0.01$ 或等价式 (M1) · 1 分:用 $z_{0.995}\approx2.5758$ 得到 $\sqrt n/3\ge2.5758$ (M1) · 1 分:检查后得最小 $n=60$ (A1) · (d) 1 分:写出 $T\sim N(60,4.5)$ (A1) · 1 分:用 $\sigma_T=\sqrt{4.5}$ 标准化并得到 $z\approx-0.943$ (M1) · 1 分:算得 $P(T\lt 58)\approx0.173$ (A1) · (e) 1 分:说明方差按 $1/n$ 缩放,所以标准误差取平方根后按 $1/\sqrt n$ 缩放 (R1) · 1 分:推出把标准误差减半需要 $n$ 变为原来的 $4$ 倍 (A1) · (f) 1 分:指出中心极限定理给出 $\bar X$ 的极限正态分布 (A1) · 1 分:说明即使原始数据非正态,只要方差有限,极限仍近似正态 (R1) · 1 分:解释平均会抵消不规则形状,留下钟形 (R1)