Confidence intervals & the law of large numbers
The normal approximation lets us say how close the observed frequency is to the true — the idea behind confidence intervals — while the law of large numbers guarantees .
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
For a interval with , the margin is . Compute (to 3 d.p.).
With margin and , evaluate (the argument of ).
What you’ll be able to do
- Use to estimate an unknown and bound the error via the normal approximation.
- Apply to find a sample size or a confidence interval.
- State the law of large numbers and distinguish it from the gambler's fallacy.
In your course
· MATH2015 · Linear Algebra & Probability- Inequality (14.1)Lower bound for.
- Theorem 14.3Law of large numbers for binomial random variables.
- Example 14.795% CI from 450/1000 successes
- Example 14.6Sample size for a target accuracy
Estimating an unknown probability
To estimate an unknown , run independent trials, count successes , and use the observed proportion . The larger , the better the estimate — but how far off might be?
A normal-approximation bound
Standardizing and bounding gives, for margin ,\n\n\n\nUse it two ways: solve for to hit a target confidence, or build an interval around an observed .
Interpreting a confidence interval
Once the data are in and is observed, and the true are both fixed numbers. We do not say ‘‘ is in the interval with probability .’’ We say the interval is a confidence interval: intervals built this way contain the true in of samples.
The law of large numbers
The LLN says the observed frequency converges to the true probability: for any , as . It justifies estimating probabilities by long-run frequencies — but says nothing about ‘‘evening out’’ in the short run.
For , , and ,\n\n
Let and . Then for any ,\n\n
Worked examples
In trials we observe successes. Give a confidence interval for .
- 1
Set , so and .
- 2
.
- 3
, so the interval is .
How many trials give within of with probability at least ?