Confidence Intervals

Concept

A confidence interval gives a range of plausible values for a population parameter based on sample data.

Formula

\[\bar{x}\pm z_{\alpha/2}\frac{\sigma}{\sqrt{n}}\quad\text{(known σ)}\]
\[\bar{x}\pm t_{\alpha/2,n-1}\frac{s}{\sqrt{n}}\quad\text{(unknown σ)}\]

Interpretation

A 95% CI means: if we repeated the sampling procedure many times, 95% of the constructed intervals would contain the true parameter.

Examples

Example 1. n=25, x̄=100, s=15. Build a 95% CI for μ.

Solution. t* ≈ 2.064. CI = 100 ± 2.064·(15/5) = (93.81, 106.19).

Deep Dive: Confidence Intervals

This section builds durable understanding of confidence intervals in statistics through definition-first reasoning, theorem mapping, and error-checking workflows.

Use a two-pass method: first derive the structure symbolically, then validate with a concrete numerical or geometric test case.

Visual Intuition

Convert algebra into a diagram, graph, or dependency map before solving. Visual-first analysis reduces sign errors and makes assumptions explicit.

Checklist: domain constraints - symmetry - limiting behavior - sanity check at special values.

Practice Set

Practice A. Re-derive one key formula on this page from first principles and annotate each transformation.

Target. Your final line should include assumptions, derivation path, and a quick verification.

Practice B. Build an application scenario using confidence intervals and solve it with both symbolic and numeric methods.

Target. Compare outputs and explain any approximation gap.

References & Editorial Notes

  • Stewart, Calculus.
  • Strang, Introduction to Linear Algebra.
  • Apostol, Mathematical Analysis.

Editorial update: Reviewed on 2026-04-14 for notation consistency, conceptual clarity, and exercise quality.