EuraStudy
Notes/Further Mathematics/Optional application: Statistics
Notes · Further MathematicsUK · A-Levels

Optional application: Statistics

Statistics is one of the three optional applied routes in AQA Further Mathematics 7367, examined only for students entered for it. It extends the statistics of A-Level Mathematics with discrete and continuous random variables, the Poisson and exponential distributions, Type I and Type II errors, chi-squared tests and inference using the t-distribution. This note presents the route in full for students who choose it.

5 sections·~15 min reading time·3 competencies·Level Standard 1 · Advanced 4

T·121212 / 13
Exam profile
AO1 · Compute probabilities, expectations and test statistics accuratelyAO2 · Choose an appropriate distribution or test and justify the choiceAO3 · Interpret the outcome of a test or a confidence interval in context
Operators:findtestshow thathencecalculateinterpret

basic level

As an optional applied route, Statistics is examined only for students entered for it; AS-level content covers discrete random variables and the Poisson distribution.

higher level

The full A-Level route adds continuous distributions, Type I/II errors and power, chi-squared tests, and t-distribution inference with confidence intervals.

Depth

Reading depth: In depth

Text

Text size: Standard

Contents · 5 sections▾
  1. Optional application: Statistics
    • 01Discrete random variables and the Poisson distribution◐
    • 02Continuous random variables and the exponential distribution●
    • 03Errors in hypothesis testing●
    • 04Chi-squared tests●
    • 05The t-distribution and confidence intervals●
§ 01

Discrete random variables and the Poisson distribution#

●●○StandardLPAQA 7367 Statistics optionLPDfE Further Mathematics (optional applied)

The Poisson(3) distribution

Poisson probabilities, mean 3Column chart: P(X = x) by x, Data: P(X = x) · 0: 0.05; P(X = x) · 1: 0.149; P(X = x) · 2: 0.224; P(X = x) · 3: 0.224; P(X = x) · 4: 0.168; P(X = x) · 5: 0.101; P(X = x) · 6: 0.05; P(X = x) · 7: 0.022; P(X = x) · 8: 0.008; P(X = x) · 9: 0.003; P(X = x) · 10: 0.00100.050.10.150.20123456789100.050.1490.2240.2240.1680.1010.050.0220.0080.0030.001P(X = x)x
Fig. 1For λ=3\lambda = 3λ=3 the probabilities peak near x=3x = 3x=3 and tail off; the distribution is right-skewed.

Key points

A discrete random variable XXX takes a countable set of values with a probability distribution P(X=x)P(X = x)P(X=x) summing to 111. Its expectation (mean) is E(X)=∑x P(X=x)E(X) = \sum x\,P(X = x)E(X)=∑xP(X=x) and its variance is Var⁡(X)=E(X2)−[E(X)]2\operatorname{Var}(X) = E(X^2) - [E(X)]^2Var(X)=E(X2)−[E(X)]2, where E(X2)=∑x2 P(X=x)E(X^2) = \sum x^2\,P(X=x)E(X2)=∑x2P(X=x). These weighted sums are the basic descriptive measures, and the identity for variance — 'mean of the square minus the square of the mean' — is the practical way to compute it.
The Poisson distribution models the number of independent events occurring in a fixed interval when they happen at a constant average rate — telephone calls per minute, flaws per metre of wire, particles per second. Its probability function is P(X=x)=e−λλxx!P(X = x) = \dfrac{\mathrm{e}^{-\lambda}\lambda^x}{x!}P(X=x)=x!e−λλx​ for x=0,1,2,…x = 0, 1, 2, \dotsx=0,1,2,…, where λ\lambdaλ is the mean number of events. A distinctive feature is that its mean and variance are equal, both being λ\lambdaλ; a data set whose sample mean and variance are close is a hint that a Poisson model may fit.
A key property is additivity: if X∼Poisson(λ1)X \sim \text{Poisson}(\lambda_1)X∼Poisson(λ1​) and Y∼Poisson(λ2)Y \sim \text{Poisson}(\lambda_2)Y∼Poisson(λ2​) are independent, then X+Y∼Poisson(λ1+λ2)X + Y \sim \text{Poisson}(\lambda_1 + \lambda_2)X+Y∼Poisson(λ1​+λ2​). This lets you rescale the interval — the number of events in two hours, when the hourly rate is λ\lambdaλ, is Poisson with mean 2λ2\lambda2λ — and combine independent Poisson sources. Recognising when to add the means is central to Poisson problem-solving.
The distribution is right-skewed for small λ\lambdaλ and becomes more symmetric as λ\lambdaλ grows, as the bar chart of Poisson(3)\text{Poisson}(3)Poisson(3) illustrates: the probabilities rise to a peak near x=λx = \lambdax=λ and then tail off. In practice, cumulative probabilities such as P(X≥2)P(X \geq 2)P(X≥2) are found via the complement 1−P(X=0)−P(X=1)1 - P(X = 0) - P(X = 1)1−P(X=0)−P(X=1), and the model's assumptions — independence and a constant rate — should be stated when it is applied.
P(X=x)=e−λλxx!,E(X)=Var⁡(X)=λP(X = x) = \frac{\mathrm{e}^{-\lambda}\lambda^x}{x!}, \qquad E(X) = \operatorname{Var}(X) = \lambdaP(X=x)=x!e−λλx​,E(X)=Var(X)=λ

Poisson distribution

Mean equals variance; models independent events at a constant rate.

Var⁡(X)=E(X2)−[E(X)]2\operatorname{Var}(X) = E(X^2) - [E(X)]^2Var(X)=E(X2)−[E(X)]2

Variance of a discrete variable

Mean of the square minus the square of the mean.

Worked example

Poisson probabilities

Calls arrive at mean rate 333 per minute (Poisson). Find P(X≥2)P(X \geq 2)P(X≥2) in one minute and P(Y=5)P(Y = 5)P(Y=5) in two minutes.

  1. 01Set up the one-minute variable

    X∼Poisson(3)X \sim \text{Poisson}(3)X∼Poisson(3). P(X=0)=e−3=0.0498P(X = 0) = \mathrm{e}^{-3} = 0.0498P(X=0)=e−3=0.0498; P(X=1)=e−3⋅3=0.1494P(X = 1) = \mathrm{e}^{-3}\cdot 3 = 0.1494P(X=1)=e−3⋅3=0.1494.

  2. 02Use the complement

    P(X≥2)=1−P(X=0)−P(X=1)=1−0.0498−0.1494=0.8008P(X \geq 2) = 1 - P(X=0) - P(X=1) = 1 - 0.0498 - 0.1494 = 0.8008P(X≥2)=1−P(X=0)−P(X=1)=1−0.0498−0.1494=0.8008.

    P(X≥2)=1−0.0498−0.1494=0.8008P(X \geq 2) = 1 - 0.0498 - 0.1494 = 0.8008P(X≥2)=1−0.0498−0.1494=0.8008
  3. 03Rescale for two minutes

    Over two minutes the mean is 2×3=62\times 3 = 62×3=6, so Y∼Poisson(6)Y \sim \text{Poisson}(6)Y∼Poisson(6).

  4. 04Evaluate P(Y = 5)

    P(Y=5)=e−6655!=0.002479×7776120=0.1606P(Y = 5) = \dfrac{\mathrm{e}^{-6}6^5}{5!} = \dfrac{0.002479 \times 7776}{120} = 0.1606P(Y=5)=5!e−665​=1200.002479×7776​=0.1606.

Result: P(X≥2)=0.801P(X \geq 2) = 0.801P(X≥2)=0.801 (3 s.f.) and P(Y=5)=0.161P(Y = 5) = 0.161P(Y=5)=0.161 (3 s.f.).

Exam focus

  • Use P(X=x)=e−λλxx!P(X=x) = \dfrac{\mathrm{e}^{-\lambda}\lambda^x}{x!}P(X=x)=x!e−λλx​ and the mean-equals-variance property; rescale λ\lambdaλ for different interval lengths.
  • Compute cumulative probabilities by complement, and state the Poisson assumptions (independence, constant rate) when modelling.

Typical mistakes

  • Forgetting to add the means when combining independent Poisson variables or changing the interval length.
  • Confusing P(X≥2)P(X \geq 2)P(X≥2) with P(X>2)P(X > 2)P(X>2), or omitting a term when using the complement.

Active revision

Calls arrive at a switchboard at a mean rate of 333 per minute, modelled as a Poisson process. Find the probability of at least 222 calls in a given minute, and the probability of exactly 555 calls in a two-minute period.

Active recall

Recall the key points — then reveal.

Sources: AQA A-level Further Mathematics 7367 specification (AQA)

§ 02

Continuous random variables and the exponential distribution#

●●●AdvancedLPAQA 7367 Statistics optionLPDfE Further Mathematics (optional applied)

The exponential probability density

Function graph, f(x) = 0.5 e^{-0.5x} = 0.5*exp(-0.5*x), 1 marked pointsGraph of f(x) = 0.5 e^{-0.5x}, y-intercept at y = 0.5, decreasing, on the interval x from 0 to 8123456780.10.20.30.40.5λ = 0.5f(x) = 0.5e−0.5xf(x)x
Fig. 2The density f(x)=0.5 e−0.5xf(x) = 0.5\,\mathrm{e}^{-0.5x}f(x)=0.5e−0.5x starts at λ=0.5\lambda = 0.5λ=0.5 and decays; the area beyond any point is e−0.5x\mathrm{e}^{-0.5x}e−0.5x.

Key points

A continuous random variable is described by a probability density function f(x)f(x)f(x) satisfying f(x)≥0f(x) \geq 0f(x)≥0 and ∫−∞∞f(x) dx=1\displaystyle\int_{-\infty}^{\infty} f(x)\,\mathrm{d}x = 1∫−∞∞​f(x)dx=1. Probabilities are areas under the density, P(a≤X≤b)=∫abf(x) dxP(a \leq X \leq b) = \displaystyle\int_a^b f(x)\,\mathrm{d}xP(a≤X≤b)=∫ab​f(x)dx, and the probability of any single exact value is zero. The cumulative distribution function F(x)=P(X≤x)=∫−∞xf(t) dtF(x) = P(X \leq x) = \displaystyle\int_{-\infty}^{x} f(t)\,\mathrm{d}tF(x)=P(X≤x)=∫−∞x​f(t)dt accumulates this area from the left.
The mean and variance are the continuous analogues of the discrete sums: E(X)=∫x f(x) dxE(X) = \displaystyle\int x\,f(x)\,\mathrm{d}xE(X)=∫xf(x)dx and Var⁡(X)=∫x2f(x) dx−[E(X)]2\operatorname{Var}(X) = \displaystyle\int x^2 f(x)\,\mathrm{d}x - [E(X)]^2Var(X)=∫x2f(x)dx−[E(X)]2. The median mmm is the value with F(m)=12F(m) = \tfrac12F(m)=21​, splitting the area in half. Setting up and evaluating these integrals — and using the cdf to find probabilities and the median — is the core skill.
The exponential distribution, with density f(x)=λe−λxf(x) = \lambda\mathrm{e}^{-\lambda x}f(x)=λe−λx for x≥0x \geq 0x≥0, models waiting times between the events of a Poisson process. Its cdf is F(x)=1−e−λxF(x) = 1 - \mathrm{e}^{-\lambda x}F(x)=1−e−λx, its mean is 1λ\dfrac{1}{\lambda}λ1​ and its variance 1λ2\dfrac{1}{\lambda^2}λ21​. Because the mean is the reciprocal of the Poisson rate, a Poisson process with 333 events per minute has exponential inter-event times with mean 13\tfrac1331​ minute — the two distributions are two views of the same process.
A striking feature of the exponential distribution is that it is memoryless: the probability of waiting a further time ttt is the same regardless of how long one has already waited, P(X>s+t∣X>s)=P(X>t)P(X > s + t \mid X > s) = P(X > t)P(X>s+t∣X>s)=P(X>t). This models genuinely random arrivals with no ageing, and its density is a simple decreasing exponential, as the figure shows. Recognising when the memoryless, constant-rate assumptions are appropriate is part of choosing the model.
f(x)≥0,∫−∞∞f(x) dx=1,F(x)=∫−∞xf(t) dtf(x) \geq 0, \quad \int_{-\infty}^{\infty} f(x)\,\mathrm{d}x = 1, \quad F(x) = \int_{-\infty}^{x} f(t)\,\mathrm{d}tf(x)≥0,∫−∞∞​f(x)dx=1,F(x)=∫−∞x​f(t)dt

Continuous random variable

Probabilities are areas; the cdf accumulates them.

f(x)=λe−λx (x≥0),F(x)=1−e−λx,E(X)=1λf(x) = \lambda\mathrm{e}^{-\lambda x}\ (x \geq 0), \quad F(x) = 1 - \mathrm{e}^{-\lambda x}, \quad E(X) = \frac{1}{\lambda}f(x)=λe−λx (x≥0),F(x)=1−e−λx,E(X)=λ1​

Exponential distribution

Waiting times of a Poisson process; mean is the reciprocal of the rate.

Worked example

Exponential lifetime

A component's lifetime (hours) is exponential with mean 200200200. Find P(X>300)P(X > 300)P(X>300) and the median lifetime.

  1. 01Find the rate

    Mean =1λ=200= \dfrac{1}{\lambda} = 200=λ1​=200, so λ=1200=0.005\lambda = \dfrac{1}{200} = 0.005λ=2001​=0.005, and F(x)=1−e−0.005xF(x) = 1 - \mathrm{e}^{-0.005x}F(x)=1−e−0.005x.

  2. 02Compute P(X > 300)

    P(X>300)=1−F(300)=e−0.005×300=e−1.5=0.2231P(X > 300) = 1 - F(300) = \mathrm{e}^{-0.005 \times 300} = \mathrm{e}^{-1.5} = 0.2231P(X>300)=1−F(300)=e−0.005×300=e−1.5=0.2231.

    P(X>300)=e−1.5=0.2231P(X > 300) = \mathrm{e}^{-1.5} = 0.2231P(X>300)=e−1.5=0.2231
  3. 03Median

    Solve F(m)=12F(m) = \tfrac12F(m)=21​: 1−e−0.005m=0.5⇒e−0.005m=0.5⇒m=ln⁡20.0051 - \mathrm{e}^{-0.005m} = 0.5 \Rightarrow \mathrm{e}^{-0.005m} = 0.5 \Rightarrow m = \dfrac{\ln 2}{0.005}1−e−0.005m=0.5⇒e−0.005m=0.5⇒m=0.005ln2​.

  4. 04Evaluate

    m=0.69310.005=138.6m = \dfrac{0.6931}{0.005} = 138.6m=0.0050.6931​=138.6 hours; the median is less than the mean, reflecting the right skew.

Result: P(X>300)=0.223P(X > 300) = 0.223P(X>300)=0.223 and the median lifetime is 138.6138.6138.6 hours.

Exam focus

  • Use ∫f=1\int f = 1∫f=1 to find an unknown constant, integrate fff for probabilities, and solve F(m)=12F(m) = \tfrac12F(m)=21​ for the median.
  • For the exponential, quote F(x)=1−e−λxF(x) = 1 - \mathrm{e}^{-\lambda x}F(x)=1−e−λx, mean 1λ\tfrac{1}{\lambda}λ1​, and link λ\lambdaλ to the Poisson rate.

Typical mistakes

  • Treating f(x)f(x)f(x) itself as a probability (it is a density; probabilities are areas).
  • Forgetting the domain x≥0x \geq 0x≥0 for the exponential, or confusing the mean 1λ\tfrac{1}{\lambda}λ1​ with λ\lambdaλ.

Active revision

The lifetime (in hours) of a component follows an exponential distribution with mean 200200200. Find the probability that a component lasts more than 300300300 hours, and find the median lifetime.

Active recall

Recall the key points — then reveal.

Sources: AQA A-level Further Mathematics 7367 specification (AQA)

§ 03

Errors in hypothesis testing#

●●●AdvancedLPAQA 7367 Statistics optionLPDfE Further Mathematics (optional applied)

Key points

A hypothesis test decides between a null hypothesis H0H_0H0​ and an alternative H1H_1H1​ using sample data, and because the data are random the decision can be wrong in two distinct ways. A Type I error is rejecting H0H_0H0​ when it is in fact true — a false alarm. A Type II error is failing to reject H0H_0H0​ when it is in fact false — a missed detection. The two errors are of different kinds and cannot be reduced simultaneously without more data.
The probability of a Type I error is the significance level α\alphaα of the test: by choosing the critical region so that, under H0H_0H0​, the test statistic falls in it with probability α\alphaα, you fix the Type I error rate. For a discrete test statistic the actual size of the critical region may be a little below the nominal α\alphaα, and stating the true probability of a Type I error is examinable.
The probability of a Type II error, denoted β\betaβ, depends on the specific true value of the parameter under H1H_1H1​, because 'how likely we are to miss a false null' depends on how false it is. It is computed as the probability that the statistic falls outside the critical region when the parameter takes a particular alternative value. The power of the test is 1−β1 - \beta1−β, the probability of correctly rejecting a false null; a more powerful test is better at detecting a real effect.
There is an unavoidable trade-off: shrinking the critical region lowers α\alphaα (fewer false alarms) but raises β\betaβ (more missed detections), and vice versa. Only increasing the sample size can reduce both. Understanding this trade-off, computing α\alphaα and β\betaβ for a given test, and interpreting the power in context is the substance of this section — it deepens the mechanical hypothesis testing of A-Level Mathematics into an appreciation of what a test can and cannot guarantee.
P(Type I)=α,P(Type II)=β,power=1−βP(\text{Type I}) = \alpha, \qquad P(\text{Type II}) = \beta, \qquad \text{power} = 1 - \betaP(Type I)=α,P(Type II)=β,power=1−β

Error probabilities and power

α\alphaα is fixed by the critical region; β\betaβ depends on the true alternative value.

Worked example

Type I and Type II errors for a coin test

X∼B(10,p)X \sim B(10, p)X∼B(10,p); test H0:p=0.5H_0: p = 0.5H0​:p=0.5 by rejecting if X∈{0,1,9,10}X \in \{0,1,9,10\}X∈{0,1,9,10}. Find P(Type I)P(\text{Type I})P(Type I) and P(Type II)P(\text{Type II})P(Type II) when p=0.8p = 0.8p=0.8.

  1. 01Type I error

    Under H0H_0H0​ (p=0.5p=0.5p=0.5), reject when X∈{0,1,9,10}X \in \{0,1,9,10\}X∈{0,1,9,10}. By symmetry P=2(P(X=0)+P(X=1))=2(0.510+10⋅0.510)=2(11)(0.000977)=0.0215P = 2\big(P(X=0) + P(X=1)\big) = 2(0.5^{10} + 10\cdot 0.5^{10}) = 2(11)(0.000977) = 0.0215P=2(P(X=0)+P(X=1))=2(0.510+10⋅0.510)=2(11)(0.000977)=0.0215.

    P(Type I)=2 (0.5)10(1+10)=0.0215P(\text{Type I}) = 2\,(0.5)^{10}(1 + 10) = 0.0215P(Type I)=2(0.5)10(1+10)=0.0215
  2. 02Set up the Type II error

    A Type II error is failing to reject H0H_0H0​ when p=0.8p = 0.8p=0.8, i.e. X∈{2,3,…,8}X \in \{2,3,\dots,8\}X∈{2,3,…,8} under B(10,0.8)B(10, 0.8)B(10,0.8).

  3. 03Compute the complement

    P(Type II)=1−P(X∈{0,1,9,10})P(\text{Type II}) = 1 - P(X \in \{0,1,9,10\})P(Type II)=1−P(X∈{0,1,9,10}) under B(10,0.8)B(10,0.8)B(10,0.8). Here P(X=9)=10(0.8)9(0.2)=0.2684P(X=9) = 10(0.8)^9(0.2) = 0.2684P(X=9)=10(0.8)9(0.2)=0.2684, P(X=10)=0.810=0.1074P(X=10) = 0.8^{10} = 0.1074P(X=10)=0.810=0.1074, and P(X=0),P(X=1)P(X=0), P(X=1)P(X=0),P(X=1) are negligible.

  4. 04Evaluate

    P(reject∣p=0.8)≈0+0+0.2684+0.1074=0.3758P(\text{reject} \mid p=0.8) \approx 0 + 0 + 0.2684 + 0.1074 = 0.3758P(reject∣p=0.8)≈0+0+0.2684+0.1074=0.3758, so P(Type II)=1−0.3758=0.6242P(\text{Type II}) = 1 - 0.3758 = 0.6242P(Type II)=1−0.3758=0.6242.

Result: P(Type I)=0.0215P(\text{Type I}) = 0.0215P(Type I)=0.0215; P(Type II)=0.624P(\text{Type II}) = 0.624P(Type II)=0.624 (so the power at p=0.8p=0.8p=0.8 is only 0.3760.3760.376).

Exam focus

  • Identify Type I (reject a true H0H_0H0​) and Type II (accept a false H0H_0H0​) errors and compute their probabilities for a given test.
  • State P(Type I)=αP(\text{Type I}) = \alphaP(Type I)=α (the actual size of the critical region) and find the power 1−β1 - \beta1−β at a stated alternative value.

Typical mistakes

  • Swapping the definitions of Type I and Type II errors.
  • Computing a Type II error probability without a specific alternative value, or using the null value by mistake.

Active revision

A coin is tested for bias by tossing it 101010 times; H0:p=0.5H_0: p = 0.5H0​:p=0.5 is rejected if the number of heads is 0,1,90, 1, 90,1,9 or 101010. Find the probability of a Type I error, and the probability of a Type II error if in fact p=0.8p = 0.8p=0.8.

Active recall

Recall the key points — then reveal.

Sources: AQA A-level Further Mathematics 7367 specification (AQA)

§ 04

Chi-squared tests#

●●●AdvancedLPAQA 7367 Statistics optionLPDfE Further Mathematics (optional applied)

The chi-squared distribution and its critical region

Function graph, χ² (4 d.f.) = 0.25*x*exp(-x/2)Graph of χ² (4 d.f.), roots at x = 0, maximum at (2, 0.184), y-intercept at y = 0, on the interval x from 0 to 1524681012140.050.10.150.29.49χ² (4 d.f.)densityχ²
Fig. 3For 444 degrees of freedom the 5%5\%5% critical value is 9.499.499.49; a statistic beyond it (shaded tail) rejects the null hypothesis.

Key points

The chi-squared (χ2\chi^2χ2) test compares observed frequencies with those expected under a hypothesis. The test statistic is χ2=∑(O−E)2E\chi^2 = \displaystyle\sum \frac{(O - E)^2}{E}χ2=∑E(O−E)2​, summed over all classes, where OOO is the observed frequency and EEE the expected frequency of each class. A small value means the observations agree well with the model; a large value indicates a poor fit and leads to rejecting the null hypothesis.
In a goodness-of-fit test the expected frequencies come from a proposed distribution (uniform, binomial, Poisson, or a given ratio). The statistic is compared with a critical value from χ2\chi^2χ2 tables at the chosen significance level, using the degrees of freedom ν=(number of classes)−1−(number of parameters estimated from the data)\nu = (\text{number of classes}) - 1 - (\text{number of parameters estimated from the data})ν=(number of classes)−1−(number of parameters estimated from the data). Each parameter estimated from the sample (such as a mean used to fit a Poisson) costs one degree of freedom.
For a contingency table testing whether two categorical variables are independent, the expected frequency of a cell is (row total)×(column total)grand total\dfrac{(\text{row total}) \times (\text{column total})}{\text{grand total}}grand total(row total)×(column total)​, and the degrees of freedom are (r−1)(c−1)(r-1)(c-1)(r−1)(c−1) for an r×cr \times cr×c table. The same statistic ∑(O−E)2E\sum \dfrac{(O-E)^2}{E}∑E(O−E)2​ is formed and compared with the critical value; a significant result means the variables are associated, not independent.
Two practical rules protect the test's validity: expected frequencies should generally be at least 555, and where they are too small, adjacent classes are pooled (which reduces the degrees of freedom accordingly). The conclusion must be stated in context — 'there is (in)sufficient evidence at the 5%5\%5% level to reject the hypothesis that ...' — and never as a bald 'significant', since the whole point is to interpret the fit or the association meaningfully.
χ2=∑(O−E)2E,ν=(classes)−1−(estimated parameters)\chi^2 = \sum \frac{(O - E)^2}{E}, \qquad \nu = (\text{classes}) - 1 - (\text{estimated parameters})χ2=∑E(O−E)2​,ν=(classes)−1−(estimated parameters)

Chi-squared statistic and degrees of freedom

Large χ2\chi^2χ2 means a poor fit; each estimated parameter costs a degree of freedom.

Eij=(rowi total)(colj total)grand total,ν=(r−1)(c−1)E_{ij} = \frac{(\text{row}_i\ \text{total})(\text{col}_j\ \text{total})}{\text{grand total}}, \qquad \nu = (r-1)(c-1)Eij​=grand total(rowi​ total)(colj​ total)​,ν=(r−1)(c−1)

Contingency table

Expected cell frequencies for a test of independence.

Worked example

Goodness-of-fit test for a fair die

A die rolled 120120120 times gives 14,22,19,25,18,2214, 22, 19, 25, 18, 2214,22,19,25,18,22. Test at 5%5\%5% whether it is fair.

  1. 01Hypotheses and expected frequencies

    H0H_0H0​: the die is fair, so each face is expected 1206=20\dfrac{120}{6} = 206120​=20 times; H1H_1H1​: it is not fair.

  2. 02Compute the statistic

    χ2=(14−20)2+(22−20)2+(19−20)2+(25−20)2+(18−20)2+(22−20)220=36+4+1+25+4+420=7420=3.7\chi^2 = \dfrac{(14-20)^2 + (22-20)^2 + (19-20)^2 + (25-20)^2 + (18-20)^2 + (22-20)^2}{20} = \dfrac{36+4+1+25+4+4}{20} = \dfrac{74}{20} = 3.7χ2=20(14−20)2+(22−20)2+(19−20)2+(25−20)2+(18−20)2+(22−20)2​=2036+4+1+25+4+4​=2074​=3.7.

    χ2=7420=3.7\chi^2 = \frac{74}{20} = 3.7χ2=2074​=3.7
  3. 03Degrees of freedom and critical value

    ν=6−1=5\nu = 6 - 1 = 5ν=6−1=5 (no parameters estimated); the 5%5\%5% critical value is χ52=11.07\chi^2_{5} = 11.07χ52​=11.07.

  4. 04Conclude

    Since 3.7<11.073.7 < 11.073.7<11.07, do not reject H0H_0H0​: there is insufficient evidence at the 5%5\%5% level that the die is unfair.

Result: χ2=3.7<11.07\chi^2 = 3.7 < 11.07χ2=3.7<11.07; the data are consistent with a fair die.

Exam focus

  • Form χ2=∑(O−E)2E\chi^2 = \sum \dfrac{(O-E)^2}{E}χ2=∑E(O−E)2​, count the degrees of freedom correctly (subtracting one per estimated parameter), and compare with the tabulated critical value.
  • Pool classes with expected frequency below 555, and state the conclusion in context.

Typical mistakes

  • Miscounting degrees of freedom by forgetting to subtract for parameters estimated from the data.
  • Using observed rather than expected frequencies in the denominator, or failing to pool small expected classes.

Active revision

A die is rolled 120120120 times, giving the frequencies 14,22,19,25,18,2214, 22, 19, 25, 18, 2214,22,19,25,18,22 for faces 111 to 666. Test at the 5%5\%5% level whether the die is fair.

Active recall

Recall the key points — then reveal.

Sources: AQA A-level Further Mathematics 7367 specification (AQA)

§ 05

The t-distribution and confidence intervals#

●●●AdvancedLPAQA 7367 Statistics optionLPDfE Further Mathematics (optional applied)

Key points

When the population variance is unknown and estimated from a small sample, the standardised sample mean does not follow a normal distribution but Student's ttt-distribution. The statistic t=xˉ−μs/nt = \dfrac{\bar x - \mu}{s/\sqrt{n}}t=s/n​xˉ−μ​, where sss is the sample standard deviation (with divisor n−1n-1n−1), has a ttt-distribution with n−1n - 1n−1 degrees of freedom. The ttt-distribution is symmetric and bell-shaped like the normal but has heavier tails, reflecting the extra uncertainty from estimating the variance.
As the sample size increases, the ttt-distribution approaches the standard normal, because a large sample estimates the variance reliably. For small samples, however, the heavier tails matter: the critical values are larger than the normal ones, so tests and intervals based on ttt are appropriately more cautious. Using a normal critical value with a small sample would understate the uncertainty.
A confidence interval for the mean, when the variance is unknown, is xˉ±tn−1 sn\bar x \pm t_{n-1}\,\dfrac{s}{\sqrt{n}}xˉ±tn−1​n​s​, where tn−1t_{n-1}tn−1​ is the critical value from the ttt-tables for the required confidence level and n−1n-1n−1 degrees of freedom. A 95%95\%95% interval means that if the sampling were repeated many times, about 95%95\%95% of the intervals so constructed would contain the true mean — a statement about the procedure, not a probability that the fixed true mean lies in one particular interval.
The same ttt-statistic underlies a hypothesis test for a mean with unknown variance: compare t=xˉ−μ0s/nt = \dfrac{\bar x - \mu_0}{s/\sqrt{n}}t=s/n​xˉ−μ0​​ with the critical value for n−1n-1n−1 degrees of freedom. The assumptions — a random sample from an approximately normal population — should be stated, and the interval or test result interpreted in context. This completes the route by giving small-sample inference its correct, honest treatment.
t=xˉ−μs/nwith n−1 degrees of freedomt = \frac{\bar x - \mu}{s/\sqrt{n}} \quad \text{with } n-1 \text{ degrees of freedom}t=s/n​xˉ−μ​with n−1 degrees of freedom

The t-statistic

For small samples with unknown variance; heavier tails than the normal.

xˉ±tn−1 sn\bar x \pm t_{n-1}\,\frac{s}{\sqrt{n}}xˉ±tn−1​n​s​

Confidence interval for the mean

tn−1t_{n-1}tn−1​ is the critical value for the chosen confidence level.

Worked example

A 95% confidence interval

A sample of n=10n = 10n=10 has xˉ=24.6\bar x = 24.6xˉ=24.6 and s=2.1s = 2.1s=2.1. Find a 95%95\%95% confidence interval for μ\muμ (take t9=2.262t_9 = 2.262t9​=2.262).

  1. 01Standard error

    sn=2.110=2.13.1623=0.6641\dfrac{s}{\sqrt{n}} = \dfrac{2.1}{\sqrt{10}} = \dfrac{2.1}{3.1623} = 0.6641n​s​=10​2.1​=3.16232.1​=0.6641.

  2. 02Margin of error

    t9×sn=2.262×0.6641=1.502t_9 \times \dfrac{s}{\sqrt{n}} = 2.262 \times 0.6641 = 1.502t9​×n​s​=2.262×0.6641=1.502.

    margin=2.262×0.6641=1.502\text{margin} = 2.262 \times 0.6641 = 1.502margin=2.262×0.6641=1.502
  3. 03Form the interval

    24.6±1.50224.6 \pm 1.50224.6±1.502, i.e. (23.10, 26.10)(23.10,\ 26.10)(23.10, 26.10).

  4. 04Interpret

    We are 95%95\%95% confident, in the procedural sense, that the population mean lies between 23.123.123.1 and 26.126.126.1.

Result: The 95%95\%95% confidence interval is (23.1, 26.1)(23.1,\ 26.1)(23.1, 26.1).

Exam focus

  • Use t=xˉ−μs/nt = \dfrac{\bar x - \mu}{s/\sqrt{n}}t=s/n​xˉ−μ​ with n−1n-1n−1 degrees of freedom when the variance is estimated from a small sample.
  • Construct a confidence interval as xˉ±tn−1 sn\bar x \pm t_{n-1}\,\dfrac{s}{\sqrt{n}}xˉ±tn−1​n​s​ and interpret it as a statement about the procedure.

Typical mistakes

  • Using a normal (z) critical value instead of a ttt value for a small sample with unknown variance.
  • Interpreting a 95%95\%95% interval as 'a 95%95\%95% probability that the true mean is in this interval' rather than as a property of the method.

Active revision

A sample of 101010 measurements has mean xˉ=24.6\bar x = 24.6xˉ=24.6 and sample standard deviation s=2.1s = 2.1s=2.1. Construct a 95%95\%95% confidence interval for the population mean (use t9=2.262t_{9} = 2.262t9​=2.262).

Active recall

Recall the key points — then reveal.

Sources: AQA A-level Further Mathematics 7367 specification (AQA)

Contents

Section -- / 05

    • 01Discrete random variables and the Poisson distribution◐
    • 02Continuous random variables and the exponential distribution●
    • 03Errors in hypothesis testing●
    • 04Chi-squared tests●
    • 05The t-distribution and confidence intervals●

0/5 Read

From notes into training

Optional application: Statistics

Reinforce this topic with matching tasks from the question bank.

~15
min
3
Competencies
Practise

References & sources

Sources

AQA

  • AQA A-level Further Mathematics 7367 specification

Previous topic

Optional application: Mechanics

Next topic

Optional application: Discrete mathematics

EuraStudy·Notes T·12·MMXXVI

Carry on to the next topic — your learning path is kept.