O3 - Normal mean hypothesis tests

O3 - Normal mean hypothesis tests

Test a population mean using a Normal model with known, given or assumed population variance. Find the distribution of a sample mean, use the correct tail or critical values, and interpret a complete test without confusing the sample result with the population claim.

The distribution of a sample mean

Individual packet masses have standard deviation 4 g4\,\mathrm g. How can a mean of just 1616 packets have standard deviation only 1 g1\,\mathrm g, and why would halving that uncertainty again require 6464 packets?

An individual packet can be unusually heavy or light. In an average, some positive and negative departures offset one another. The mean varies between samples, but less than individual observations vary within the population.

You already know

For X∼N(μ,σ2)X\sim\mathrm N(\mu,\sigma^2), the second parameter is the variance, and σ\sigma is the standard deviation. The observed mean of nn values is xˉ=∑x/n\bar x=\sum x/n. Standardising a Normal variable means subtracting its mean and dividing by its standard deviation.

Use Xˉ\bar X for the random sample mean before observing the sample, and xˉ\bar x for the realised mean. They are different: one has a probability distribution; the other is the number calculated from the observations.

Sampling distribution of a Normal mean

For an independent random sample of size nn from N(μ,σ2)\mathrm N(\mu,\sigma^2),

Xˉ−μσ/n∼N(0,1)\frac{\bar X-\mu}{\sigma/\sqrt n}\sim\mathrm N(0,1)

In the formula booklet.

The supplied standardisation tells us that Xˉ∼N(μ,σ2/n)\bar X\sim\mathrm N(\mu,\sigma^2/n), with standard deviation σ/n\sigma/\sqrt n. This equivalent distribution is recovered from the booklet result; it is not a separate printed formula. Its variance is σ2/n\sigma^2/n, not its standard deviation.

To see the scaling, independent observations give a sum with variance nσ2n\sigma^2. Dividing that sum by nn divides its variance by n2n^2, leaving σ2/n\sigma^2/n. These variance-scaling facts explain the supplied formula; they are not printed separately in the booklet. Four times the sample size divides the variance by four and the standard deviation by two. Because the population is Normal, the mean's Normal distribution is exact even for a small sample under the independence assumption.

Worked example 1: sixteen packets

Question. Individual packet masses follow N(500,42)\mathrm N(500,4^2), in grams. For an independent random sample of 1616, find the distribution of the mean and P(499.2<Xˉ<500.8)\mathrm P(499.2<\bar X<500.8).

Plan. Divide the population variance by the sample size, then calculate the interval probability using the mean's standard deviation.

Var⁡(Xˉ)=1616=1variance of the meansd⁡(Xˉ)=416=1standard deviation in gramsP(499.2<Xˉ<500.8)=P(−0.8<Z<0.8)standardise both bounds=0.576289…calculator Normal probability\begin{aligned} \operatorname{Var}(\bar X)&=\frac{16}{16}=1 &&\text{variance of the mean} \\ \operatorname{sd}(\bar X)&=\frac4{\sqrt{16}}=1 &&\text{standard deviation in grams} \\ \mathrm P(499.2<\bar X<500.8)&=\mathrm P(-0.8<Z<0.8) &&\text{standardise both bounds} \\ &=0.576289\ldots &&\text{calculator Normal probability} \end{aligned}

Why use 11, rather than 44? The event concerns an average of sixteen packets, rather than one packet.

Answer. Xˉ∼N(500,1)\bar X\sim\mathrm N(500,1), and the probability is 0.57630.5763 to 44 significant figures.

Check. The interval is symmetric about 500500, so its two excluded tails have equal probability.

Example 2 changes only the sample size, from 1616 to 6464. The same mass interval now contains a larger proportion of sample means.

Worked example 2: sixty-four packets

Question. For the same population, use an independent random sample of 6464. Find the distribution of its mean and P(499.2<Xˉ<500.8)\mathrm P(499.2<\bar X<500.8).

Plan. Recalculate the sampling spread and standardise the unchanged endpoints.

Var⁡(Xˉ)=1664=0.25larger samplesd⁡(Xˉ)=464=0.5half the earlier spreadP(499.2<Xˉ<500.8)=P(−1.6<Z<1.6)divide departures by 0.5=0.890401…calculator probability\begin{aligned} \operatorname{Var}(\bar X)&=\frac{16}{64}=0.25 &&\text{larger sample} \\ \operatorname{sd}(\bar X)&=\frac4{\sqrt{64}}=0.5 &&\text{half the earlier spread} \\ \mathrm P(499.2<\bar X<500.8)&=\mathrm P(-1.6<Z<1.6) &&\text{divide departures by }0.5 \\ &=0.890401\ldots &&\text{calculator probability} \end{aligned}

Why are the standardised endpoints further apart? The fixed mass interval covers more units of the smaller sample-mean standard deviation.

Answer. Xˉ∼N(500,0.25)\bar X\sim\mathrm N(500,0.25), and the probability is 0.89040.8904 to 44 significant figures.

Check. Quadrupling nn halved the standard deviation, from 11 to 0.5 g0.5\,\mathrm g, answering the opening question.

Use the known, given or assumed population variance in this method. A sample variance s2s^2 estimates population spread; it does not make that spread known. A test with unknown population variance requires another method, outside this lesson.

Watch out

Wrong: for n=16n=16, the mean's standard deviation is 4/16=0.254/16=0.25. Standard deviations scale with n\sqrt n, rather than nn. Right: 4/16=14/\sqrt{16}=1. It is the variance that is divided by 1616.

When a calculator asks for standard deviation, enter σ/n\sigma/\sqrt n, not the variance σ2/n\sigma^2/n.

Population hypotheses and standardisation

The null specifies the population mean used to calculate the reference distribution. The observed sample mean then tells us how far the evidence departs from that claim.

Define μ\mu in the context. For reference value μ0\mu_0, use H0:μ=μ0H_0:\mu=\mu_0. A decrease uses H1:μ<μ0H_1:\mu<\mu_0, an increase uses H1:μ>μ0H_1:\mu>\mu_0, and a change uses H1:μ≠μ0H_1:\mu\ne\mu_0. These hypothesis conventions are not in the formula booklet: learn them. Choose the direction before observing the sample.

Under H0H_0, replace μ\mu by μ0\mu_0 in the booklet's sampling-distribution formula. Its observed standardised value is

z=xˉ−μ0σ/nz=\frac{\bar x-\mu_0}{\sigma/\sqrt n}

This is the supplied standardisation evaluated at the observed mean. It counts how many sample-mean standard deviations the result lies above or below the null mean. It is not a difference measured in individual-observation standard deviations.

Write Φ(z)=P(Z≤z)\Phi(z)=\mathrm P(Z\le z) for the standard Normal cumulative probability. A lower-tail alternative uses p-value Φ(z)\Phi(z); an upper-tail alternative uses 1−Φ(z)1-\Phi(z). These tail choices are not printed in the formula booklet: learn them. A negative zz does not support an increase: its upper-tail p-value exceeds 0.50.5.

Worked example 3: reduced battery life

Question. Independent battery lives are Normal with population standard deviation 66 hours. A random sample of 3636 has mean 38.238.2 hours. Test at 5%5\% whether population mean life has fallen below 4040 hours.

Plan. Use a lower-tail probability for the sample mean under the claimed population mean.

Let μ\mu be the population mean battery life.

H0:μ=40,H1:μ<40a proposed reductionXˉ∼N(40,36/36)=N(40,1)under H0z=38.2−406/36=−1.8observed minus claimedΦ(−1.8)=0.0359303…<0.05lower-tail comparison\begin{aligned} H_0&:\mu=40,\qquad H_1:\mu<40 &&\text{a proposed reduction} \\ \bar X&\sim\mathrm N(40,36/36)=\mathrm N(40,1) &&\text{under }H_0 \\ z&=\frac{38.2-40}{6/\sqrt{36}}=-1.8 &&\text{observed minus claimed} \\ \Phi(-1.8)&=0.0359303\ldots<0.05 &&\text{lower-tail comparison} \end{aligned}

Why use the lower tail? Smaller sample means support a reduction in population mean life.

Answer. Reject H0H_0. There is sufficient evidence at 5%5\% to suggest that the population mean battery life is below 4040 hours.

Check. The statistic is negative because the sample mean lies below the null mean. Equivalently, −1.8<−1.64485…-1.8<-1.64485\ldots, the lower 5%5\% critical value.

Example 4 changes only the observed sample mean. Keep the population variance and sampling model unchanged.

Worked example 4: a smaller departure

Question. Carry out the same 5%5\% lower-tail test when the mean of the 3636 battery lives is 38.438.4 hours.

Plan. Update the standardised departure and recalculate its lower-tail probability.

H0:μ=40,H1:μ<40Xˉ∼N(40,1)under H0z=38.4−401=−1.6smaller departureΦ(−1.6)=0.0547993…>0.05above the threshold\begin{aligned} H_0&:\mu=40,\qquad H_1:\mu<40 \\ \bar X&\sim\mathrm N(40,1) &&\text{under }H_0 \\ z&=\frac{38.4-40}{1}=-1.6 &&\text{smaller departure} \\ \Phi(-1.6)&=0.0547993\ldots>0.05 &&\text{above the threshold} \end{aligned}

Why does the decision change? The new observation is less extreme in the tested direction and has a larger null probability.

Answer. Do not reject H0H_0. There is insufficient evidence at 5%5\% to suggest that the population mean battery life is below 4040 hours.

Check. The sample mean remains below 4040, but an observed difference alone does not establish a significant population reduction.

AQA expects the population mean and its tested direction in the conclusion. “The batteries have changed” does not identify the quantity tested.

Watch out

Wrong: z=(40−38.2)/1=1.8z=(40-38.2)/1=1.8, followed by comparison with a negative lower critical value. Reversing the subtraction reverses the sign. Right: z=(xˉ−μ0)/(σ/n)=−1.8z=(\bar x-\mu_0)/(\sigma/\sqrt n)=-1.8, or calculate the lower sample-mean probability directly.

The next question isolates hypothesis choice so that the required tail is clear before calculation begins.

Critical values and two-tailed tests

A critical region gives a decision boundary before the sample is observed. For a continuous Normal distribution, you can allocate the significance probability exactly, assuming the model holds.

Use inverse Normal on your calculator. An upper 5%5\% tail leaves cumulative probability 0.950.95 below its boundary, giving Φ−1(0.95)=1.64485…\Phi^{-1}(0.95)=1.64485\ldots. A lower 5%5\% tail uses Φ−1(0.05)=−1.64485…\Phi^{-1}(0.05)=-1.64485\ldots. For a two-tailed 5%5\% test, allocate 0.0250.025 to each tail:

Φ−1(0.025)=−1.95996…,Φ−1(0.975)=1.95996…\Phi^{-1}(0.025)=-1.95996\ldots,\qquad \Phi^{-1}(0.975)=1.95996\ldots

These critical values are not printed in the formula booklet; obtain them using inverse Normal rather than memorising rounded boundaries. The booklet supplies the sampling standardisation used to convert them into sample means.

Standard Normal density with lower and upper tails of probability 0.025, giving a total two-tailed significance level of five per cent

Reject when zz lies in either shaded tail. For a continuous variable, strict or inclusive boundary inequalities give the same probability because a single exact value has probability zero.

Two-tailed Normal p-value

For an observed standardised statistic zz in a test against a change in either direction,

p-value=2Φ(−∣z∣)\text{p-value}=2\Phi(-|z|)

Normal symmetry makes this twice the smaller tail probability. Not in the formula booklet: learn it.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account