Key formulas
Sample Size for Means
n = (z* × σ / ME)²
Sample Size for Proportions
n = (z* / ME)² × p̂(1 − p̂). If p is unknown, use p̂ = 0.5 for the most conservative (largest) n.
From the Inference formula sheet
- Confidence Interval for a Mean:
xbar +/- critical value * standard error— Estimate plus or minus a margin of error. - One-Sample Z Test:
z = (xbar - mu_0) / (sigma / sqrt(n))— Tests a sample mean against a null mean when population sigma is known. - Power:
Power = 1 - beta— Probability of correctly rejecting a false null hypothesis.