01 / 20

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.

Statistics & Probability

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.

Parameter
A fixed but unknown value describing the whole population. Mean \( \mu \), proportion \( p \).
Statistic
A value computed from a sample. Sample mean \( \bar{x} \), sample proportion \( \hat{p} \).

Why Estimates Vary

Different random samples give slightly different results. This natural spread is called sampling variability.

True \( \mu \)
Sample means cluster around the true value

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.

estimate − MOE + MOE confidence interval

Estimating a Population Mean

From a sample, compute the sample mean \( \bar{x} \). The interval for the true mean \( \mu \) is:

\( s \)
Sample standard deviation: the spread of the data.
\( n \)
Sample size: more data shrinks the MOE.
\( z^{*} \)
Critical value: about \( 1.96 \) for 95% confidence.

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.

center = estimate Distribution of simulated sample statistics

Mean vs. Proportion

Mean Proportion
Data typeNumeric (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

1
Take a random sample. Ensure it represents the population fairly.
2
Compute the statistic. Find \( \bar{x} \) for a mean or \( \hat{p} \) for a proportion.
3
Find the margin of error. Use the formula or simulation results.
4
Form the interval. Write \( \text{estimate} \pm \text{MOE} \) and interpret it.

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

✕ Confusing Parameter & Statistic
\( \bar{x} \) and \( \hat{p} \) come from samples; \( \mu \) and \( p \) describe the whole population.
✕ Forgetting the Square Root
The MOE divides by \( \sqrt{n} \), not \( n \). Dropping the root overstates precision.
✕ "It's Always Right"
A 95% interval may still miss \( \mu \). It's correct about 95% of the time, not always.
✕ Biased Samples
No formula fixes a non-random sample. Bias makes the whole estimate untrustworthy.

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:

You've Got the Big Idea