All revision notes topics

One-sample t-testAQA A-Level Further Maths: Revision notes

Section 1

When to use a t-test

To test a claim about the mean μ\mu of a normal population when the population variance is unknown and the sample is small, replace σ\sigma by the unbiased estimate ss. The resulting statistic does not follow a normal distribution; it follows the t-distribution with ν=n−1\nu=n-1 degrees of freedom: t=xˉ−μ0s/n∼tn−1.t=\frac{\bar x-\mu_0}{s/\sqrt n}\sim t_{n-1}. The tt-distribution is symmetric about 00 like the normal but has heavier tails, which allows for the extra uncertainty from estimating σ\sigma. As ν\nu increases it approaches the standard normal.

Key termst-distributiondegrees of freedomtest statistic
Common mistake

Using ν=n\nu=n instead of ν=n−1\nu=n-1. One degree of freedom is used up by estimating the mean.

Section 2

Finding s from the data

Use the unbiased estimate of the population variance: s2=1n−1(∑x2−(∑x)2n).s^2=\frac{1}{n-1}\left(\sum x^2-\frac{(\sum x)^2}{n}\right). Example: n=10n=10, ∑x=1840\sum x=1840, ∑x2=339 136\sum x^2=339\,136. Then xˉ=184\bar x=184 and s2=339136−3385609=64s^2=\frac{339136-338560}{9}=64, so s=8s=8. If the question gives the variance, take the square root to get ss before dividing by n\sqrt n.

Key termsunbiased estimate
Exam tip

Check the question wording: 'unbiased estimate of the variance' is already s2s^2, whereas 'sample variance' with divisor nn must be multiplied by nn−1\frac{n}{n-1}.

Section 3

Hypotheses and critical regions

State hypotheses about the population mean: H0:μ=μ0H_0:\mu=\mu_0 against

  • H1:μ>μ0H_1:\mu>\mu_0 or H1:μ<μ0H_1:\mu<\mu_0 (one-tailed), with the whole significance level in one tail, or
  • H1:μ≠μ0H_1:\mu\neq\mu_0 (two-tailed), with half the significance level in each tail. Look up the critical value in the tt-table using ν=n−1\nu=n-1 and the tail probability. For a 5%5\% two-tailed test use the 2.5%2.5\% column. With ν=8\nu=8: one-tailed 5%5\% is 1.8601.860 and two-tailed 5%5\% is ±2.306\pm2.306. The critical region is the set of tt values beyond the critical value(s).
Key termscritical valuecritical regionsignificance level
Common mistake

Choosing a one-tailed alternative after seeing which way the data point. The direction of H1H_1 must come from the question, before the sample is examined.

Section 4

Carrying out the test and concluding

  1. State H0H_0 and H1H_1 in terms of μ\mu.
  2. Find xˉ\bar x and ss, and calculate t=xˉ−μ0s/nt=\frac{\bar x-\mu_0}{s/\sqrt n}.
  3. Find ν=n−1\nu=n-1 and the critical value.
  4. Compare: if tt is in the critical region, reject H0H_0.
  5. Conclude in context, with suitably cautious wording. Example: café coffees, n=9n=9, xˉ=243.4\bar x=243.4, s=9s=9, μ0=250\mu_0=250, H1:μ<250H_1:\mu<250. t=−6.63=−2.2t=\frac{-6.6}{3}=-2.2. The critical value for ν=8\nu=8 at 5%5\% is −1.860-1.860. Since −2.2<−1.860-2.2<-1.860, reject H0H_0: there is evidence that the mean volume is below 250250 ml.
Key termsreject H0
Common mistake

Writing 'the claim is true' when H0H_0 is not rejected. You say only that there is insufficient evidence against it.

Section 5

Assumptions

The test is valid only if the population is normally distributed and the sample is random. With small samples you cannot rely on the central limit theorem, so the normality assumption matters. The population variance is unknown, which is why ss and the tt-distribution are used. For large samples the tt values are close to normal values, so the conclusions are the same.

Key termsrandom sample

That's the notes covered.

Carry on to the next subtopic.

Exam questions on One-sample t-test

  1. A café claims that the mean volume of its large coffees is 250250 ml. Volumes are normally distributed. A customer measures 99 randomly chosen large coffees and finds a sample mean of 243.4243.4 ml and an unbiased estimate of the population variance of 8181 ml2^2.
    A test is carried out at the 5%5\% significance level of H0:μ=250H_0:\mu=250 against H1:μ<250H_1:\mu<250. The critical value of tt is −1.860-1.860. State the conclusion of the test, in context.2 marks
  2. A gardener claims that a variety of sunflower grows to a mean height of 180180 cm. Heights are normally distributed. A random sample of 1010 plants has heights xx cm with ∑x=1840\sum x=1840 and ∑x2=339 136\sum x^2=339\,136.
    A test is carried out at the 5%5\% significance level of H0:μ=180H_0:\mu=180 against H1:μ≠180H_1:\mu\neq180. The critical values of tt are ±2.262\pm2.262. State the conclusion of the test, in context.2 marks
  3. An environment agency states that the mean nitrate concentration in a river is 2525 mg per litre. Concentrations are normally distributed. Residents suspect that the mean is higher, and the agency takes 66 random readings, in mg per litre: 27.4, 25.9, 28.1, 26.5, 29.0, 27.727.4,\ 25.9,\ 28.1,\ 26.5,\ 29.0,\ 27.7.
    Calculate the sample mean and an unbiased estimate of the population variance.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).