Testing a Mean with a Large Sample When the Variance Is Unknown | OCR B (MEI) A Level Maths notes
Free preview: Testing a Mean with a Large Sample When the Variance Is Unknown
When σ Is Not Known
Year 2 (A level only)
Let's start with the catch in the Normal test for a mean: it needs the population standard deviation . Think about the gym owner who wants to test the mean visit time. Who would know the standard deviation of every visit ever made? Nobody.
- In real life we rarely know .
- One board allows a way round this (see Board differences) when the sample is large: estimate from the sample itself.
The sample standard deviation
The estimate is the sample standard deviation , calculated with divisor :
💡 In plain words
- is the sample size, the sample mean and the sum of the squares of the data.
- Square each distance from the mean, add them up, and divide by one less than the sample size.
- The second form is quicker when you are given and .
- Why rather than ? The data sit closer to their own mean than to the true , so dividing by n would underestimate the spread.
- Dividing by makes a fair (unbiased) estimate of the population variance.
- A calculator's statistics mode gives it as (sometimes ).
👀 Watch me do it: find s for the small data set 4, 7, 8, 9, 12, both ways
| What I write | Why I do it |
|---|---|
| Sample mean first. | |
| Distances from the mean: −4, −1, 0, 1, 4. Square and add. | |
| Divide by , not 5. | |
| Check with the other form: , . ✓ | Both forms must agree. |
| Square root for the standard deviation. |
📝 Common mistake: dividing by n
Wrong: (that is on a calculator). Right: divide by to get 8.5. Use .
✏️ YOUR TURN 1
Try this first:
A random sample of 40 values has and . Find and .
Answer:
- .
- .
- (4 s.f.).
Why the Sample Must Be Large, and the Test Statistic
Why the sample must be large
- With a large sample, is a reliable estimate of , so replacing one by the other makes little difference.
- With a large sample, the sample mean is approximately Normal even if the population itself is not Normal. (This is the Central Limit Theorem; only the idea is used here, never a proof.)
- So for large : . A common guide is or so; questions will make clear when n is large.
💡 In plain words
- A small sample's s could be quite far from σ by luck. A large sample's s is close.
- And averaging many values smooths out any odd shape in the population, so the mean behaves Normally.
The test statistic
Notice that the test is identical to the known-variance test, except that replaces :
💡 In plain words
- is the value in ; and are the sample mean and sample standard deviation; is the (large) sample size.
- is our estimate of the standard error.
- Compare z with the usual critical values (1.6449, 1.96, 2.3263, 2.5758) or find a p-value from .

Following the graph
- The curves show single values (wide) and sample means for n = 9 and n = 25 (narrower). The spread of is the standard error, .
- With σ unknown we estimate the standard error by .
- For large n the curve for is very narrow, so even a small difference between and can be significant.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Hypothesis Testing
- The Language of Hypothesis Testing
- Rank Correlation: Testing for Association Using Ranks
- Testing a Mean with a Large Sample When the Variance Is Unknown
- One-Tailed Hypothesis Tests for a Binomial Proportion
- Two-Tailed Binomial Tests and Critical Regions
- Testing for Correlation with the Product Moment Correlation Coefficient
- The Distribution of the Sample Mean
- Hypothesis Tests for the Mean of a Normal Distribution
- Move Up a Grade: A Level Maths Hypothesis Testing
- Tricky Bits: A Level Maths Hypothesis Testing
What's inside for this topic
10 teacher notes, 171 practice questions, 58 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Rank Correlation: Testing for Association Using Ranks Next note: One-Tailed Hypothesis Tests for a Binomial Proportion