Estimating Population
Parameters with Error Margin
Use a sample to estimate a population mean or proportion, then build a margin of error with simulation models for random sampling.
Parameter vs. Statistic
We usually cannot measure an entire population. Instead, we take a sample and use it to estimate the true value we care about.
Why Estimates Vary
Different random samples give slightly different results. This natural spread is called sampling variability.
What is a Margin of Error?
The margin of error (MOE) tells us how far our estimate is likely to be from the true parameter. We add and subtract it from the estimate.
Estimating a Population Mean
From a sample, compute the sample mean \( \bar{x} \). The interval for the true mean \( \mu \) is:
Estimating a Population Proportion
For a yes/no survey, the sample proportion \( \hat{p} \) estimates \( p \). The margin of error uses the sample proportion itself:
Building MOE by Simulation
Instead of a formula, we can simulate many random samples, record each sample statistic, and study how much they spread.
Mean vs. Proportion
| Mean | Proportion | |
|---|---|---|
| Data type | Numeric (heights, scores) | Yes / No (success) |
| Estimate | \( \bar{x} \) | \( \hat{p} \) |
| Parameter | \( \mu \) | \( p \) |
| MOE uses | \( \dfrac{s}{\sqrt{n}} \) | \( \sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}} \) |
How to Build an Estimate
Example 1: A Proportion
In a random sample of \( n = 400 \) voters, \( 220 \) support a measure. Estimate the population proportion with a 95% margin of error.
Example 2: A Mean
A sample of \( n = 64 \) students has mean study time \( \bar{x} = 6.2 \) hours with \( s = 1.6 \). Build a 95% interval for \( \mu \).
Example 3: Bigger Sample
If we increase the sample in Example 1 from \( n = 400 \) to \( n = 1600 \) (four times larger), what happens to the margin of error?
Common Mistakes
Quick Reference
| Goal | Formula | Effect of larger \( n \) |
|---|---|---|
| Mean interval | \( \bar{x} \pm z^{*}\dfrac{s}{\sqrt{n}} \) | Narrower |
| Proportion interval | \( \hat{p} \pm z^{*}\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}} \) | Narrower |
| Quick MOE | \( \approx \dfrac{1}{\sqrt{n}} \) | Smaller |
| 95% \( z^{*} \) | \( 1.96 \) | Unchanged |
Question 1 of 5
A value computed from a sample, like \( \bar{x} \), is called a:
Question 2 of 5
In a sample of \( n = 100 \), the proportion is \( \hat{p} = 0.6 \). Using \( z^{*}=1.96 \), the margin of error is closest to:
Question 3 of 5
To cut the margin of error in half, you should multiply the sample size by:
Question 4 of 5
A 95% interval is reported as \( 6.2 \pm 0.4 \). Which statement is the best interpretation?
Question 5 of 5
When you run a simulation of many random samples, the margin of error is found from: