Testing for a Difference Between Two Population Means | OCR B (MEI) A Level Further Maths notes
Free preview: Testing for a Difference Between Two Population Means
Comparing Two Means
Year 2 (A level) for OCR B (MEI), where it is not part of the Statistics Minor (the AS content). For the other boards, check your own specification for whether it is taught in Year 1 or Year 2.
Let's start with a typical question: do two machines, two schools or two diets give the same average? We take a sample from each and compare the sample means. But two sample means will always differ a bit, even if the populations are identical. So the real question is: is the gap bigger than chance alone would produce?
- Population X has mean , variance ; population Y has mean , variance .
- The samples must be independent: different, unrelated individuals in each.
- We look at the difference .
The distribution of the difference
We build it from what we know about one sample mean, one step at a time.
- Each mean on its own: has mean and variance ; has mean and variance .
- Mean of the difference: . Expectations subtract.
- Variance of the difference: for independent variables, variances add, even for a difference: .
- Shape: exactly Normal if both populations are Normal; approximately Normal by the CLT if both samples are large.
- Under the part is 0.
- For large samples with unknown variances, use and in place of and .
💡 In plain words
- Same idea as a one-sample test: how many standard errors is the observed difference from the difference claimed in ?
- The standard error combines the uncertainty from both samples.
✏️ YOUR TURN 1
Try this first:
X is Normal with standard deviation 3 and Y is Normal with standard deviation 4. Samples of 10 from X and 8 from Y are taken independently. State the distribution of if , and find its standard error.
Answer:
- Variance .
- exactly (both populations Normal).
- Standard error .
A Two-Sample Test, Step by Step
Method: two-sample z-test
- Hypotheses about the two population means, e.g. , . Define both in context.
- Justify the Normal model: both populations Normal, or both samples large (CLT).
- Standard error: work out and separately, add, square root.
- z: observed difference minus the difference in , divided by the standard error.
- Compare with the critical value (or the p-value with the level).
- Conclude in context.
👀 Watch me do it: two machines make rods. Machine A: 50 rods, mm, . Machine B: 60 rods, mm, . Test at 5% whether the machines have different mean lengths
| What I write | Why I do it |
|---|---|
| , | Step 1: "different" means two-tailed. are the mean lengths of all rods from each machine. |
| Both samples are large, so by the CLT is approximately Normal, and we use | Step 2. |
| Step 3. | |
| Step 4: difference is 0. | |
| Critical values ±1.96. , so reject (only just: p-value ) | Step 5: two-tailed 5%. |
| There is sufficient evidence at the 5% level to suggest the two machines have different mean lengths | Step 6. |
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 Normal Hypothesis Tests for Means
- z-Tests for a Population Mean Using the Central Limit Theorem
- Testing for a Difference Between Two Population Means
What's inside for this topic
2 teacher notes, 55 practice questions, 45 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: z-Tests for a Population Mean Using the Central Limit Theorem
Testing for a Difference Between Two Population Means on other exam boards
All OCR B (MEI) A Level Further Maths topics · A Level Further Maths