跳到主要内容

S2 · Statistics 2

Edexcel International A-Level 数学知识点 8

本主题的视频课程 打开视频页面
18:36

统计学2

试卷 WST02:1 小时 30 分钟,75 分,假定已学 S1。记住二项分布的均值 n p 和方差 n p 乘 1 减 p;泊松分布的均值与方差……

英文讲解 · 可切换中英文字幕

8.1

统计学 2:分布、连续变量与假设检验

English

Why it matters. In 1898 the Russian-born statistician Ladislaus von Bortkiewicz published Das Gesetz der kleinen Zahlen (The Law of Small Numbers) in Leipzig. One of his examples was a grim one: the number of soldiers in Prussian cavalry corps killed by kicks from horses, over the 20 years from 1875 to 1894. In 10 corps over 20 years there were 200 "corps-years" and 122 deaths, a mean of 0.61 per corps per year. In 109 of the corps-years nobody was killed, in 65 one soldier was killed, in 22 two, in 3 three and in 1 four. The Poisson distribution with mean 0.61 predicts 108.7, 66.3, 20.2, 4.1 and 0.6: almost exactly what happened. Rare, random events, from horse kicks to radioactive decays and calls to a help desk, follow the same pattern.

In this unit you will:

  • use the binomial and Poisson distributions, and approximations to them;
  • work with continuous random variables and their density and distribution functions;
  • use the continuous uniform distribution;
  • understand populations, samples and sampling distributions;
  • carry out hypothesis tests for a binomial proportion and a Poisson mean.

Edexcel International Advanced Level, Statistics 2 (S2, paper WST02/01, 1 hour 30 minutes, 75 marks). It builds on S1 and uses calculus from Pure Mathematics 1 and 2. The formula booklet gives the binomial, Poisson and Normal tables.

These results are not in the formula booklet, so learn them:

Topic Results
binomial $X \sim B(n, p)$: $P(X = r) = \binom nr p^r(1 - p)^{n - r}$; $E(X) = np$; $\text{Var}(X) = np(1 - p)$
Poisson $X \sim \text{Po}(\lambda)$: $P(X = r) = \dfrac{e^{-\lambda}\lambda^r}{r!}$; $E(X) = \text{Var}(X) = \lambda$
continuous $P(a < X < b) = \int_a^b f(x)\,dx$; $f(x) = F'(x)$; $E(X) = \int xf(x)\,dx$; $E(X^2) = \int x^2f(x)\,dx$
uniform on $[a, b]$ $f(x) = \dfrac{1}{b - a}$; $E(X) = \dfrac{a + b}{2}$; $\text{Var}(X) = \dfrac{(b - a)^2}{12}$
8.2

二项分布与泊松分布

English

The binomial distribution 二项分布 $B(n, p)$ counts the successes in $n$ trials. It is a good model when:

  • there is a fixed number $n$ of trials;
  • each trial has two outcomes, success or failure;
  • the trials are independent;
  • the probability of success $p$ is the same for every trial.

The Poisson distribution 泊松分布 $\text{Po}(\lambda)$ counts events in an interval of time or space. It is a good model when events happen singly, independently and at random, at a constant average rate. The rate scales with the interval: if there are on average 4 calls per hour, then in 30 minutes the number of calls is $\text{Po}(2)$. In the exam, always give the conditions in the context of the question.

People waiting in a queue at a terminal
People arriving at random at a steady average rate: the number per minute follows a Poisson distribution
A bar chart of the Poisson distribution with mean 3, leaning to the right
The Poisson distribution $\mathrm{Po}(3)$: for a Poisson variable the mean and variance both equal $\lambda$.

Approximations. For large $n$:

  • if $p$ is small, $B(n, p)$ is approximately $\text{Po}(np)$;
  • if $p$ is close to 0.5, $B(n, p)$ is approximately $N(np, np(1 - p))$;
  • if $\lambda$ is large, $\text{Po}(\lambda)$ is approximately $N(\lambda, \lambda)$.

When a Normal distribution approximates a discrete one, use a continuity correction 连续性修正: the whole number 10 is the interval from 9.5 to 10.5. So $P(X \le 10)$ becomes $P(Y < 10.5)$, and $P(X \ge 10)$ becomes $P(Y > 9.5)$.

Worked example 1. The number of blue sweets in a small bag has mean 3 and variance 2.55.

  • For a binomial model: $np = 3$ and $np(1 - p) = 2.55$. Divide: $1 - p = 0.85$, so $p = 0.15$ and $n = 20$.
  • A medium bag holds 40 sweets, of which 20% are green on average: $X \sim B(40, 0.2)$, so $E(X) = 8$ and $P(X > 8) = 1 - P(X \le 8) = 1 - 0.5931 = 0.407$.
  • A large bag holds 80 sweets, 10% yellow. $n$ is large and $p$ is small, so $X \approx \text{Po}(8)$, and $P(X \ge 12) = 1 - P(X \le 11) = 1 - 0.8881 = 0.112$.
探索

二项分布、正态分布与泊松分布模型

二项模型需要固定的n、独立试验、两种结果以及恒定的p。

对比模型与已解案例,并说明其中一处变化。

词汇 训练
English 中文 拼音
binomial distribution/baɪˈnəʊmɪəl ˌdɪstrɪˈbjuːʃn/ 二项分布 èr xiàng fēn bù
Poisson distribution/ˈpɔɪsn ˌdɪstrɪˈbjuːʃn/ 泊松分布 pō sōng fēn bù
continuity correction/kɒntɪˈnjuːɪti kəˈrekʃn/ 连续性修正 lián xù xìng xiū zhèng
8.3

连续随机变量

English

A continuous random variable $X$ can take any value in an interval. It is described by its probability density function 概率密度函数 (pdf) $f(x)$:

  • $f(x) \ge 0$, and the total area under $f$ is 1;
  • probability is area: $P(a < X < b) = \int_a^b f(x)\,dx$, and $P(X = a) = 0$ for any single value.

The cumulative distribution function 分布函数 (cdf) is $F(x) = P(X \le x) = \int_{-\infty}^{x} f(t)\,dt$. To go from $F$ to $f$, differentiate.

  • The median 中位数 $m$ satisfies $F(m) = \tfrac12$; the quartiles satisfy $F = \tfrac14$ and $F = \tfrac34$.
  • The mode 众数 is the value of $x$ where $f(x)$ is greatest. Find it with $f'(x) = 0$, or from a sketch: it may be at an end of the interval.
  • $\text{Var}(X) = E(X^2) - [E(X)]^2$.
  • Skewness: if mean $<$ median $<$ mode, the distribution has negative skew; if mean $>$ median $>$ mode, positive skew.
Worked example 2. Left: the cdf, with the median 0.671 where F = 1/2. Right: the pdf, with its mode at x = 1 and P(X > 0.6) = 0.594 shaded.
Worked example 2. Left: the cdf, with the median 0.671 where F = 1/2. Right: the pdf, with its mode at x = 1 and P(X > 0.6) = 0.594 shaded.

Worked example 2. $X$ has cdf $F(x) = k(6x^2 - x^4)$ for $0 \le x \le 1$.

  • $F(1) = 1$, so $5k = 1$ and $k = \tfrac15$.
  • $P(X > 0.6) = 1 - \dfrac{6(0.36) - 0.1296}{5} = 0.594$.
  • Median: $\dfrac{6m^2 - m^4}{5} = \tfrac12$, so $2m^4 - 12m^2 + 5 = 0$. Then $m^2 = \dfrac{12 - \sqrt{104}}{4} = 0.4505$ (the other root is bigger than 1), and $m = 0.671$.
  • pdf: $f(x) = \dfrac{12x - 4x^3}{5}$. Its derivative $\dfrac{12 - 12x^2}{5}$ is positive for $0 < x < 1$, so $f$ is increasing and the mode is 1.
  • Mean: $\int_0^1 \dfrac{12x^2 - 4x^4}{5}\,dx = \dfrac{4 - 0.8}{5} = 0.64$.
  • Mean $<$ median $<$ mode, so the distribution has negative skew.

Worked example 3. $X$ has pdf $f(x) = \dfrac{2x}{21}$ for $0 \le x \le k$, and $f(x) = \dfrac{2(6 - x)}{15}$ for $k < x \le 6$. Find $k$ and $E(X)$.

  • Total area: $\dfrac{k^2}{21} + \dfrac{2}{15}\left(18 - 6k + \dfrac{k^2}{2}\right) = 1$.
  • Multiply by 105: $5k^2 + 252 - 84k + 7k^2 = 105$, so $12k^2 - 84k + 147 = 0$, that is $4k^2 - 28k + 49 = 0$, or $(2k - 7)^2 = 0$. So $k = 3.5$, and both parts equal $\tfrac13$ there.
  • $E(X) = \int_0^{3.5} \dfrac{2x^2}{21}\,dx + \int_{3.5}^{6} \dfrac{2(6x - x^2)}{15}\,dx = 1.361 + 1.806 = \dfrac{19}{6}$.
  • With $E(X^2) = \dfrac{277}{24}$, $\text{Var}(X) = \dfrac{277}{24} - \left(\dfrac{19}{6}\right)^2 = \dfrac{109}{72}$.
Left: the triangular pdf of worked example 3, with its peak 1/3 at k = 3.5. Right: the uniform distribution of worked example 4 on [−2, 14], with P(X > 8) = 3/8 shaded.
Left: the triangular pdf of worked example 3, with its peak 1/3 at k = 3.5. Right: the uniform distribution of worked example 4 on [−2, 14], with P(X > 8) = 3/8 shaded.
探索

密度面积转化为累积高度

$f(x)=2x/b^2,\quad F(x)=x^2/b^2\ (0\le x\le b)$

将[0, 2]上的递增密度与其累积概率匹配。边界选定面积;百分位数根据给定面积查找边界。

探索

密度曲线下的面积变为累积概率的高度

$f(x)=2x/b^2,\quad F(x)=x^2/b^2\ (0\le x\le b)$

把[0,2]上的上升密度与累积概率联系起来。边界确定面积,百分位数则由面积反求边界。

词汇 训练
English 中文 拼音
probability density function/ˌprɒbəˈbɪlɪti ˈdensɪti ˈfʌŋkʃn/ 概率密度函数 gài lǜ mì dù hán shù
cumulative distribution function/ˈkjuːmjʊlətɪv ˌdɪstrɪˈbjuːʃn ˈfʌŋkʃn/ 分布函数 fēn bù hán shù
median/ˈmiːdiːən/ 中位数 zhōng wèi shù
mode/məʊd/ 众数 zhòng shù
8.4

连续均匀分布

English

The continuous uniform distribution 均匀分布 on $[a, b]$ has a constant pdf $\dfrac{1}{b - a}$, so its graph is a rectangle. A probability is a length divided by $b - a$. Its mean is $\dfrac{a + b}{2}$ and its variance is $\dfrac{(b - a)^2}{12}$. It models, for example, the error when a length is rounded, or the waiting time for a bus that arrives at a random moment within a fixed period.

Rectangle density of height 1/(b − a) between a and b, with the strip from c to d shaded: its probability is (d − c)/(b − a); the mean (a + b)/2 is marked and the variance is (b − a)²/12
Uniform on [a, b]: probabilities are lengths divided by b − a

Worked example 4. $X$ is uniform on $[a, b]$, where $a < 2$ and $b > 5$. $P(2 < X < 5) = \tfrac{3}{16}$ and $E(X) = 6$.

  • $\dfrac{3}{b - a} = \dfrac{3}{16}$, so $b - a = 16$; and $\dfrac{a + b}{2} = 6$, so $a + b = 12$. So $a = -2$ and $b = 14$.
  • $\text{Var}(X) = \dfrac{16^2}{12} = \dfrac{64}{3}$, so $E(X^2) = \dfrac{64}{3} + 6^2 = \dfrac{172}{3}$.
  • If $E(cX + 1) = 3$, then $6c + 1 = 3$ and $c = \tfrac13$.
  • $P(\tfrac32X - b > a) = P(X > \tfrac23(a + b)) = P(X > 8) = \dfrac{14 - 8}{16} = \dfrac38$.
词汇 训练
English 中文 拼音
continuous uniform distribution/kənˈtɪnjuːəs ˈjuːnɪfɔːm ˌdɪstrɪˈbjuːʃn/ 均匀分布 jūn yún fēn bù
8.5

总体、样本与统计量

English

A population is the whole group we are interested in.

  • A census 普查 measures every member of the population. It gives complete information, but it is slow and expensive, and impossible if testing destroys the item.
  • To sample 抽样 is to measure only part of the population. A sample is quicker and cheaper, but the results vary from sample to sample.
  • A sampling frame 抽样框 is a list of the members of the population that the sample is chosen from.

A statistic 统计量 is a quantity calculated from the sample values only, with no unknown parameters: $\bar X$ is a statistic, but $\bar X - \mu$ is not, if $\mu$ is unknown. The distribution of a statistic over all possible samples is its sampling distribution 抽样分布.

A large crowd of people
Statistics studies a sample to learn about a whole population.

Worked example 5. A bag has black and white beads in the ratio 2 : 5. Three beads are taken, one at a time with replacement. A black bead scores 4 and a white scores 1. Find the sampling distribution of the total score $X$.

  • $P(\text{black}) = \tfrac27$. The number of black beads is $B(3, \tfrac27)$, and 0, 1, 2 or 3 black beads give a total of 3, 6, 9 or 12.
$x$ 3 6 9 12
$P(X = x)$ $\frac{125}{343}$ $\frac{150}{343}$ $\frac{60}{343}$ $\frac{8}{343}$
  • The game is played $n$ times. For the probability of at least one score of 9 to be over 0.95: $1 - \left(\tfrac{283}{343}\right)^n > 0.95$, so $n > \dfrac{\ln 0.05}{\ln(283/343)} = 15.6$, and the least $n$ is 16.
词汇 训练
English 中文 拼音
census/ˈsensəs/ 普查 pǔ chá
sample/ˈsæmpl/ 抽样 chōu yàng
sampling frame/ˈsæmplɪŋ freɪm/ 抽样框 chōu yàng kuāng
statistic/stəˈtɪstɪk/ 统计量 tǒng jì liàng
sampling distribution/ˈsæmplɪŋ ˌdɪstrɪˈbjuːʃn/ 抽样分布 chōu yàng fēn bù
8.6

假设检验

English

A hypothesis test 假设检验 uses a sample to decide whether there is evidence that a parameter has changed.

  1. State the null hypothesis 原假设 $H_0$, for example $H_0\colon p = 0.3$, and the alternative $H_1$: $p > 0.3$ or $p < 0.3$ (one-tailed), or $p \ne 0.3$ (two-tailed).
  2. Assume $H_0$ is true, and write the distribution of the test statistic, for example $X \sim B(20, 0.3)$.
  3. Find the probability of a result at least as extreme as the one observed, or find the critical region 临界域: the values that would lead you to reject $H_0$. For a two-tailed test, put half the significance level 显著性水平 in each tail.
  4. Compare, and write the conclusion in the context of the question, for example "there is evidence at the 5% level that the proportion has increased".

The actual significance level is the probability of the critical region when $H_0$ is true. For a discrete distribution it is usually less than the level asked for.

Left: worked example 6, Po(10) with the critical regions X ≤ 3 and X ≥ 18; the observed 16 is outside them. Right: worked example 7, N(60, 42) with the area below 49.5 shaded.
Left: worked example 6, Po(10) with the critical regions X ≤ 3 and X ≥ 18; the observed 16 is outside them. Right: worked example 7, N(60, 42) with the area below 49.5 shaded.

Worked example 6. A shop has on average 20 customers an hour. After it is redesigned, 16 customers come in one 30-minute period. Test at the 3% level whether the rate has changed.

  • $H_0\colon \lambda = 10$ (per 30 minutes), $H_1\colon \lambda \ne 10$. Under $H_0$, $X \sim \text{Po}(10)$. Put 1.5% in each tail.
  • Lower tail: $P(X \le 3) = 0.0103$, but $P(X \le 4) = 0.0293$, so the lower critical region is $X \le 3$.
  • Upper tail: $P(X \ge 18) = 1 - 0.9857 = 0.0143$, but $P(X \ge 17) = 0.0270$, so the upper critical region is $X \ge 18$.
  • The actual significance level is $0.0103 + 0.0143 = 0.0246$, or 2.46%.
  • 16 is not in the critical region, so do not reject $H_0$: there is not enough evidence that the rate of customers has changed.

Worked example 7. In the past, 30% of customers bought insurance.

  • For a sample of 40, $X \sim B(40, 0.3)$. The largest $r$ with $P(X < r) < 0.05$: $P(X \le 6) = 0.0238$ but $P(X \le 7) = 0.0553$, so $r = 7$.
  • For a sample of 200, $X \approx Y \sim N(60, 42)$. If $P(X \ge t) = 0.9474$, then with the continuity correction $\dfrac{t - 0.5 - 60}{\sqrt{42}} = -1.62$, so $t = 50$.
  • After a special offer, 11 of 25 customers buy insurance. Test at the 10% level: $H_0\colon p = 0.3$, $H_1\colon p > 0.3$, with $X \sim B(25, 0.3)$. $P(X \ge 11) = 1 - 0.9022 = 0.0978 < 0.10$, so reject $H_0$: there is evidence that the proportion has increased.
探索

假设检验与情境结论

在观察结果之前,使用总体参数陈述H₀和H₁。

对比模型与已解案例,并说明其中一处变化。

词汇 训练
English 中文 拼音
hypothesis test/haɪˈpɒθəsɪs test/ 假设检验 jiǎ shè jiǎn yàn
null hypothesis/nʌl haɪˈpɒθəsɪs/ 原假设 yuán jiǎ shè
critical region/ˈkrɪtɪkl ˈriːdʒn/ 临界域 lín jiè yù
significance level/sɪɡˈnɪfɪkəns ˈlevl/ 显著性水平 xiǎn zhù xìng shuǐ píng
8.7

本课资料

English
  • Pearson Edexcel, International Advanced Level Mathematics, Further Mathematics and Pure Mathematics specification (2018), unit S2.
  • L. von Bortkiewicz, Das Gesetz der kleinen Zahlen (Leipzig, 1898).
  • Pearson Edexcel, WST02/01 June 2025, questions 1 to 7 (adapted).
8.8

常见错误

English
  • Stating the conditions for a binomial or Poisson model without the context.
  • Forgetting to scale the Poisson mean to the length of the interval.
  • Treating $f(x)$ as a probability; for a continuous variable, probability is an area.
  • Forgetting that the mode can be at an end of the interval.
  • Leaving out the continuity correction when a Normal distribution approximates a discrete one.
  • Writing hypotheses in terms of $X$ or $\bar x$ instead of the parameter $p$ or $\lambda$.
  • For a two-tailed test, using the whole significance level in each tail.
  • Writing "$H_0$ is true" or "this proves …"; a test gives evidence, not proof.
8.9

关键术语

English
  • Poisson distribution: the distribution of the number of random events in a fixed interval at a constant average rate.
  • Probability density function: a function whose area over an interval gives the probability that $X$ is in that interval.
  • Cumulative distribution function: $F(x) = P(X \le x)$.
  • Sampling distribution: the distribution of a statistic over all possible samples.
  • Critical region: the set of values of the test statistic for which $H_0$ is rejected.
  • Significance level: the probability of rejecting $H_0$ when it is true.
8.10

自我检测

English
  1. Calls arrive at a rate of 3 per hour. What is the distribution of the number of calls in 2 hours?
  2. $X \sim B(10, 0.4)$. Find $E(X)$ and $\text{Var}(X)$.
  3. $X$ has pdf $f(x) = kx$ for $0 \le x \le 2$. Find $k$.
  4. $X$ is uniform on $[0, 20]$. Find $P(X > 15)$ and $\text{Var}(X)$.
  5. Give one advantage and one disadvantage of a census.
  6. $X \sim \text{Po}(5)$. In a test of $H_0\colon\lambda = 5$ against $H_1\colon\lambda > 5$ at the 5% level, $P(X \ge 9) = 0.0681$ and $P(X \ge 10) = 0.0318$. Find the critical region.

Answers: 1. $\text{Po}(6)$. 2. $E(X) = 4$, $\text{Var}(X) = 2.4$. 3. $\int_0^2 kx\,dx = 2k = 1$, so $k = \tfrac12$. 4. $\frac{5}{20} = 0.25$; $\frac{400}{12} = 33.3$. 5. It is complete and accurate, but slow and expensive (or impossible if items are destroyed). 6. $X \ge 10$.

这有帮助吗?

该知识点的互动课程

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

更多 Edexcel International A-Level 数学 知识点

登录或创建账户

IGCSE, A-Level & AP