Inference for Proportions
Inference for proportions uses sample data to draw conclusions about an unknown population proportion . Key result: the sampling distribution of is approximately Normal with mean and standard deviation , which lets us build confidence intervals and run hypothesis tests for one or two proportions. Applies to categorical (yes/no, success/failure) data — polls, medical trials, quality control. Developed through the work of Laplace, de Moivre, and the early 20th-century statisticians who formalized hypothesis testing.
A proportion is just a mean of zeros and ones. Label each "success" as 1 and each "failure" as 0; then is the average of these indicators. This means the Central Limit Theorem applies directly: for large enough , is approximately Normally distributed. Everything else — confidence intervals, -tests — flows from knowing the center () and spread () of that Normal curve.
Formal Statement
The population proportion is the true fraction of all individuals in a population possessing a given attribute. The sample proportion is
where is the number of successes observed in a random sample of size , and . Derivation hint: Count successes, divide by sample size; each trial is an independent Bernoulli() outcome.
If a Simple Random Sample of size is drawn from a population with proportion , then has
Derivation hint: using .
Derivation hint: ; take the square root. Moreover, if and (the Large Counts Condition), the distribution of is approximately Normal:
Derivation hint: Apply the Central Limit Theorem to the mean of Bernoulli indicator variables.
Because is unknown in practice, we estimate the spread using the observed . The standard error of the sample proportion is
Derivation hint: Substitute the point estimate for in equation [3].
A level- confidence interval for is
where is the critical value capturing the central proportion of the standard Normal curve (e.g. for 95%). Derivation hint: Invert the statement to bracket .
To test , compute the test statistic
Derivation hint: Standardize under ; crucially the SE uses the null value , not . then find the -value from the standard Normal distribution according to the alternative hypothesis.
For comparing two independent proportions , the difference has standard error (for a confidence interval)
Derivation hint: Variances of independent quantities add; take the square root of the sum. For a test of , use the pooled proportion in the standard error:
Derivation hint: Under both samples share a common , best estimated by combining all successes over all trials.
Why It Holds / Derivation
Step 1. Define indicator variables if individual is a success, otherwise. Each is Bernoulli() with and .
Step 2. The total successes , so . A proportion is literally a sample mean.
Step 3. By linearity of expectation, . This gives equation [2].
Step 4. Because the trials are independent, variances add: . Then , giving equation [3].
Step 5. Since is a mean of i.i.d. variables, the Central Limit Theorem guarantees its distribution approaches Normal as grows. The Large Counts condition (, ) ensures is large enough relative to how skewed the underlying Bernoulli is.
Step 6. Standardizing, is approximately standard Normal — the engine behind both the interval [6] and the test [7].
∎Laplace generalized de Moivre's Normal approximation to the binomial and applied it to real proportions — most famously estimating the proportion of male births in Paris and computing the probability that it truly exceeded the female rate. His Théorie analytique des probabilités (1812) effectively created the confidence-interval reasoning we now use for proportions, framing it as "inverse probability."
Building Intuition
Imagine a giant jar of red and white marbles where the true red fraction is . Each scoop of marbles gives a slightly different red fraction . If you imagine all possible scoops, their values pile up into a bell curve centered exactly at . Three levers control the width of that bell:
- Sample size : it sits under a square root, so to halve the margin of error you must quadruple . Diminishing returns are baked in.
- The true proportion : the spread is largest at (maximum uncertainty) and shrinks toward the extremes. A near-unanimous population is easy to estimate; a 50/50 split is the hardest.
- Confidence level: demanding 99% certainty instead of 95% widens the net (larger ), trading precision for security.
```svg
```
Worked Examples
Given: A random sample of likely voters; support candidate A. Build a 95% confidence interval for the true support .
Step 1 — Check conditions. Random sample ✓. Large counts: and ✓. (10% condition: population of voters ≫ 10,000 ✓.)
Step 2 — Standard error (eq. [5]):
Step 3 — Margin of error, :
Step 4 — Interval (eq. [6]):
Answer:
Because the interval includes 0.50, we cannot conclude candidate A has majority support.
Given: A factory claims its defect rate is . An inspector finds defects in items. Test, at , whether the true rate exceeds 5%.
Step 1 — Hypotheses. vs. . Sample proportion .
Step 2 — Conditions. , ✓.
Step 3 — Test statistic (eq. [7], uses ):
Step 4 — -value (right tail): .
Step 5 — Decision. , so reject .
Answer:
There is strong evidence the true defect rate exceeds 5%.
Common Misconceptions
A frequent error is using the same standard error formula for both intervals and tests. They differ on purpose:
- Confidence intervals use (eq. [5]) — we have no hypothesized value, so we estimate spread from the data.
- Hypothesis tests use (eq. [7]) — we assume is true, so the spread is computed under .
Mixing these gives a wrong test statistic. Likewise, two-sample tests pool (eq. [9]) but two-sample intervals do not (eq. [8]).
A 95% confidence interval does not mean "there is a 95% probability that lies in this interval." Once computed, the interval either contains the fixed (but unknown) or it does not. The 95% refers to the long-run capture rate of the procedure: if we repeated the sampling endlessly, about 95% of the resulting intervals would trap the true .
Suppose a rare disease has true prevalence and you sample people. Then — the Large Counts condition fails. The sampling distribution of is strongly right-skewed (you'll often see 0, 1, or 2 cases, never negative ones), so a Normal-based interval like can dip below 0 — nonsense for a proportion. Here one must use the exact Binomial or a corrected method (e.g. the Wilson or Agresti–Coull interval).
Connections
Inference for proportions is one face of a unified framework:
- It is a special case of Inference for Means — a proportion is the mean of 0/1 data, with the twist that the spread is determined by the center, so we use rather than .
- It rests entirely on the Central Limit Theorem and the Normal Distribution.
- The underlying success count obeys the Binomial Distribution, the exact distribution we approximate.
- The two-sample test connects to the Chi-Square Test: a table's chi-square statistic equals the square of the two-proportion -statistic.
- The logic of -values and confidence intervals belongs to the broader theory of Hypothesis Testing and Confidence Intervals.
Real-World Applications
Historical Development
Subtleties & Limits
The "obvious" Wald interval has a notoriously erratic actual coverage: for a nominal 95% interval, real coverage can dip well below 90% even for moderately large , oscillating chaotically with — a phenomenon documented by Brown, Cai, and DasGupta (2001). There is no single universally "best" interval: the exact Clopper–Pearson is conservative (over-covers), Wald is unreliable, and Wilson/Agresti–Coull are good compromises. Choosing the right method for small samples, extreme proportions, or clustered/non-independent data (where the variance formula [3] breaks down) remains an active practical concern, motivating bootstrap and Bayesian credible intervals as alternatives.
See Also
Binomial Distribution · Central Limit Theorem · Confidence Intervals · Hypothesis Testing · Inference for Means · Chi-Square Test · Sampling Distributions · Normal Distribution