4.9.19 · D3Probability Theory & Statistics

Worked examples — Confidence intervals — derivation for mean, proportion

2,330 words11 min readBack to topic

Before starting, one reminder of the whole toolkit in one place:

Every symbol above is defined in the parent — if any looks unfamiliar, read the parent note first, then come back.


The scenario matrix

Every confidence-interval problem is one cell of this grid. The point of this page is to leave no empty cell.

# Cell class What makes it special Example
1 Mean, known, large textbook case (a)
2 Mean, unknown, small must use , fatter tails (b)
3 Mean, unknown, large , they agree (c)
4 One-sided bound only in one tail, not (d)
5 Proportion, near widest SE, easy (e)
6 Proportion, near an edge small , check validity (f)
7 Degenerate proportion Wald formula breaks (g)
8 Limiting behaviour: interval collapses to a point (h)
9 Word problem / exam twist choose the right recipe under disguise (i)

We now walk each cell. Confidence level is 95% unless stated otherwise, so .


(a) Cell 1 — Mean, σ known, large n


(b) Cell 2 — Mean, σ unknown, small n


(c) Cell 3 — Mean, σ unknown, large n (t ≈ z)


(d) Cell 4 — One-sided bound (don't halve α!)


(e) Cell 5 — Proportion near p = 0.5

Figure — Confidence intervals — derivation for mean, proportion

(f) Cell 6 — Proportion near an edge


(g) Cell 7 — Degenerate: p̂ = 0 (formula breaks)


(h) Cell 8 — Limiting behaviour as n → ∞

Figure — Confidence intervals — derivation for mean, proportion

(i) Cell 9 — Word-problem / exam twist


Recall

Recall Which cell, which tool?

Match each clue to its recipe. known, big ::: , two-sided unknown, small ::: "at least / at most / exceeds" ::: one-sided, use or (no halving) successes observed ::: Wald fails; rule of three Want narrower interval ::: raise (width )


Connections