95% Confidence Interval on the Sampling Distribution
For $\bar{x} = 50$, $\sigma = 8$, $n = 64$ (so standard error $\frac{\sigma}{\sqrt{n}} = 1$), the central $95\%$ spans $\pm 1.96$ standard errors, giving $[48.04, 51.96]$.
How the Central Limit Theorem Builds the Interval
By the Central Limit Theorem, sample means $\bar{x}$ follow an approximately normal distribution centered at $\mu$ with standard error $\frac{\sigma}{\sqrt{n}}$.
- For confidence level $C$ (e.g., $95\%$), find the critical value $z^*$ capturing the central $C$ area of $N(0, 1)$.
- With probability $C$, the standardized sample mean satisfies $-z^* \le \frac{\bar{x} - \mu}{\sigma / \sqrt{n}} \le z^*$.
- Multiply through by $\frac{\sigma}{\sqrt{n}}$ and isolate $\mu$ in the middle: $\bar{x} - z^*\frac{\sigma}{\sqrt{n}} \le \mu \le \bar{x} + z^*\frac{\sigma}{\sqrt{n}}$.
- When $\sigma$ is unknown (standard in practice), replace $\sigma$ with sample $s$ and replace $z^*$ with $t^*$ using $df = n - 1$.
Critical Values & Width Drivers
$90\% \to z^* = 1.645$; $95\% \to z^* = 1.96$; $99\% \to z^* = 2.576$.
Use $t^*$ (with $df = n - 1$) whenever population $\sigma$ is UNKNOWN and you only have sample $s$.
Going from $95\%$ to $99\%$ increases $z^*$, making the interval wider (less precise, more sure).
Quadrupling $n$ cuts the margin of error in HALF because of $\sqrt{n}$ in the denominator.
Step-by-Step Worked Examples
Example 1: 95% Z-Interval (Known Population $\sigma$)
- Standard error: $SE = \frac{\sigma}{\sqrt{n}} = \frac{8}{\sqrt{64}} = \frac{8}{8} = 1\text{ hr}$.
- For $95\%$ confidence, $z^* = 1.96$, so Margin of Error $ME = 1.96 \times 1 = 1.96$.
- Interval: $50 \pm 1.96 = [48.04, 51.96]\text{ hr}$.
Example 2: 95% t-Interval (Unknown $\sigma$)
- Degrees of freedom: $df = 16 - 1 = 15$, so $t^* = 2.131$.
- Standard error: $\frac{s}{\sqrt{n}} = \frac{12}{\sqrt{16}} = 3\text{ g}$.
- Margin of Error: $2.131 \times 3 = 6.393$, giving $180 \pm 6.39 = [173.61, 186.39]\text{ g}$.
Common Mistakes to Avoid
Mistake 1: Forgetting to Divide $\sigma$ (or $s$) by $\sqrt{n}$
Why: The spread of sample means shrinks by $\frac{1}{\sqrt{n}}$ compared to individual observations.
Mistake 2: Misinterpreting '95% Confident'
Why: A confidence interval estimates the population mean $\mu$, NOT the spread of individual items.
Frequently Asked Questions
How do I find the sample size $n$ needed for a target margin of error $E$?
Solve $E = z^*\frac{\sigma}{\sqrt{n}}$ for $n$: $n = \left(\frac{z^*\sigma}{E}\right)^2$, and always round UP to the next whole number.
Why is $t^*$ always slightly larger than $z^*$?
Estimating $\sigma$ with sample $s$ adds extra uncertainty, so the $t$-distribution has heavier tails—and as $n$ grows large, $t^*$ approaches $z^*$.
What conditions must be checked before building a CI?
Random sample, Independence ($n \le 10\%$ of population), and Normality (population normal OR $n \ge 30$ by Central Limit Theorem).