>
← Back to subjects
0
Edexcel A-level Mathematics (9MA0) · Statistical hypothesis testing
Mini-Lesson

Statistical hypothesis testing

This mini-lesson covers Topic 5 of Edexcel A-level Mathematics (9MA0): the language of testing — null and alternative hypotheses, significance level, test statistic, 1-tail and 2-tail tests, critical value, critical region, acceptance region and p-value — then three tests you must be able to carry out: a test for a binomial proportion p, a test for the mean of a normal distribution, and a test for a correlation coefficient ρ.

One-tailed, 5% 5% all 5% sits in one tail Two-tailed, 5% 2.5% 2.5% the 5% is split between two tails
The critical region (red) is the set of test-statistic values for which you reject H₀.

Work through each screen, answer the questions as you go (some are wordy, some are calculations) and collect ⭐ stars. Throughout, take g = 9.8 m s−2 unless a question says otherwise. Press Start when you are ready.

Testing · the language

Hypotheses, significance and the critical region

  • H₀, the null hypothesis — always a statement of equality about a population parameter (p, μ or ρ). It is what you assume is true while you calculate.
  • H₁, the alternative hypothesis — what you are testing for. Use > or < for a one-tailed test and for a two-tailed test.
  • Significance level (α) — the probability of incorrectly rejecting H₀. Typically 10%, 5% or 1%.
  • Test statistic — the value calculated from the sample.
  • Critical region — the values of the test statistic that lead you to reject H₀. Everything else is the acceptance region.
  • p-value — the probability, assuming H₀ is true, of getting the observed result or one more extreme. Reject H₀ if p-value < α.

Two-tailed rule: at the 5% level, each tail gets 2.5%. Comparing a one-tailed p-value with 0.025 (or doubling it and comparing with 0.05) is the standard method.

Never say "H₀ is true". The correct wording is: "there is sufficient / insufficient evidence to reject H₀ at the 5% level", followed by a sentence in context.

Quick check

Stating H₀

?In a test on a binomial proportion, how must the null hypothesis be stated?
Sort it

H₀, H₁, or a conclusion?

Tap a statement, then tap where it belongs.

0️⃣ Null hypothesis H₀

1️⃣ Alternative hypothesis H₁

✍️ Conclusion wording

Testing · binomial proportion

Testing a binomial proportion p

Model the count with X ~ B(n, p), assume H₀ is true, then find the probability of the observed value or more extreme.

Worked example — one-tailed

A coin-flip style claim: p = 0.3. In n = 20 trials there are 10 successes. Test at the 5% level whether p has increased.

H₀: p = 0.3  ·  H₁: p > 0.3 (one-tailed)

Assume X ~ B(20, 0.3). p-value = P(X ≥ 10) = 1 − P(X ≤ 9) = 1 − 0.9520 = 0.0480.

0.0480 < 0.05, so reject H₀: there is sufficient evidence at the 5% level that the proportion has increased.

Worked example — two-tailed

X ~ B(10, 0.5) under H₀: p = 0.5, with H₁: p ≠ 0.5, at the 5% level. Observed: 9 successes.

9 is above the expected value np = 5, so use the upper tail: P(X ≥ 9) = (10 + 1) × 0.5¹⁰ = 11 ÷ 1024 = 0.01074.

Two-tailed: compare 0.01074 with 0.025 — or double it, 2 × 0.01074 = 0.0215, and compare with 0.05.

0.0215 < 0.05, so reject H₀: there is evidence the probability is not 0.5.

Calculate

Binomial p-value

1H₀: p = 0.3, H₁: p > 0.3, with n = 20 trials and 10 successes. Given that P(X ≤ 9) = 0.9520 for X ~ B(20, 0.3), find the p-value P(X ≥ 10), to 4 decimal places.
Hint: P(X ≥ 10) = 1 − P(X ≤ 9) = 1 − 0.9520. Compare your answer with 0.05.
Calculate

Two-tailed p-value

2Two-tailed test, X ~ B(10, 0.5) under H₀, with 9 successes observed. Find the doubled p-value, 2 × P(X ≥ 9), to 4 decimal places.
Hint: P(X ≥ 9) = P(X = 9) + P(X = 10) = (10 + 1) × 0.5¹⁰ = 11 ÷ 1024 = 0.010742. Now double it.
Quick check

Splitting the tails

?A two-tailed test is carried out at the 5% significance level. What probability sits in each tail?
Testing · normal mean

Testing the mean of a normal distribution

If X ~ N(μ, σ²), then the sample mean of n observations satisfies:

X̄ ~ N(μ, σ² ÷ n)so z = (x̄ − μ) ÷ (σ ÷ √n) and Z ~ N(0, 1²)

Note the variance is divided by n: bigger samples give a more reliable mean. Hypotheses are stated in terms of the population mean μ.

Worked example

X ~ N(μ, 5²). A sample of n = 25 gives a sample mean of x̄ = 52. Test H₀: μ = 50 against H₁: μ > 50 at the 5% level.

Standard error = σ ÷ √n = 5 ÷ √25 = 5 ÷ 5 = 1.

z = (52 − 50) ÷ 1 = 2. p-value = P(Z > 2) = 1 − 0.9772 = 0.0228.

0.0228 < 0.05 → reject H₀. There is evidence at the 5% level that the mean has increased.

Critical value method: for a one-tailed 5% test the critical value is z = 1.6449; since 2 > 1.6449, reject H₀ — the same conclusion.

Calculate

Test statistic

3X ~ N(μ, ). A sample of 25 gives x̄ = 52. Testing H₀: μ = 50, find the test statistic z.
Hint: z = (x̄ − μ) ÷ (σ ÷ √n) = (52 − 50) ÷ (5 ÷ √25) = 2 ÷ 1.
Calculate

p-value for the mean

4Using z = 2 from the last question, find the p-value P(Z > 2) for this one-tailed test, to 4 decimal places.
Hint: P(Z > 2) = 1 − Φ(2) = 1 − 0.9772. Compare with 0.05.
Calculate

Critical value of x̄

5For the same test but two-tailed at 5% (H₁: μ ≠ 50), the critical z-values are ±1.96 and σ ÷ √n = 1. Find the upper critical value of x̄.
Hint: x̄ = μ + z × (σ ÷ √n) = 50 + 1.96 × 1. (The lower critical value is 50 − 1.96 = 48.04.)
Match it

Term → definition

Tap an item on the left, then its partner on the right.

Definition
Term
Testing · correlation

Testing a correlation coefficient ρ

The product moment correlation coefficient r measures how close the sample's points lie to a straight line, with |r| ≤ 1. We use it to test the population correlation coefficient, ρ (rho).

  • H₀: ρ = 0 — always. ("There is no correlation in the population.")
  • H₁: ρ > 0 or ρ < 0 (one-tailed), or ρ ≠ 0 (two-tailed).
  • You are given a table of critical values (or a p-value). Compare |r| with the critical value for that sample size and significance level.
Worked example

A sample of n = 12 pairs gives r = 0.62. Test at the 5% level whether there is positive correlation.

H₀: ρ = 0  ·  H₁: ρ > 0 (one-tailed). The critical value from the table is 0.4973.

r = 0.62 > 0.4973, so the result is in the critical regionreject H₀.

In context: there is sufficient evidence at the 5% level of a positive correlation between the two variables.

You are not asked to calculate r by hand — a calculator (or the question) supplies it. What is examined is the hypotheses, the comparison and the conclusion in context.

Quick check

Hypotheses for ρ

?What is the correct null hypothesis when testing a correlation coefficient?
Quick check

What a p-value is

?Which of these correctly describes a p-value?
Testing · critical regions

Finding a binomial critical region

Instead of finding a p-value you can find the critical region in advance: the smallest set of extreme values whose total probability is at most the significance level.

Worked example — X ~ B(20, 0.3), H₁: p > 0.3, at 5%

Work down from the top until the tail probability exceeds 5%:

P(X ≥ 10) = 1 − P(X ≤ 9) = 1 − 0.9520 = 0.0480 ≤ 0.05 ✔

P(X ≥ 9) = 1 − P(X ≤ 8) = 1 − 0.8867 = 0.1133 > 0.05 ✘

So the critical region is X ≥ 10, and the actual significance level of the test is 0.0480, i.e. 4.80% — not exactly 5%, because X is discrete.

Actual significance level = the true probability of the test statistic falling in the critical region when H₀ is true. For a discrete distribution it is almost never exactly α — this is a favourite exam question, and the answer is a probability, not "5%".

Quick check

Actual significance level

?For the test above, the critical region is X ≥ 10 and P(X ≥ 10) = 0.0480. What is the actual significance level of the test?
Recap

The big ideas to know

H₀: always an equality about a population parameter (p, μ or ρ = 0) · H₁: >, < (1-tail) or ≠ (2-tail)

Significance level: the probability of incorrectly rejecting H₀; two-tailed ⇒ split it, 2.5% per tail

Binomial test: assume X ~ B(n, p₀), find P(X ≥ x) or P(X ≤ x), compare with α

Normal mean test: X̄ ~ N(μ, σ²/n), so z = (x̄ − μ) ÷ (σ ÷ √n)

Correlation test: H₀: ρ = 0; compare |r| with the given critical value

Conclusion: “sufficient / insufficient evidence to reject H₀ at the 5% level” — then say what it means in context

That is the whole of 9MA0 Topic 5 — Statistical hypothesis testing. Press Finish to see your score.

🏆

Mini-lesson complete!

⭐⭐⭐

You have worked through Statistical hypothesis testing for Edexcel A-level Mathematics (9MA0). 🎉

Your stars: 0 / 0

Next: test yourself in the Verify stage.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to all subjects