Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Power analysis helps students plan studies before collecting data by estimating how large a sample is needed to detect a meaningful effect. This cheat sheet connects hypothesis testing, confidence intervals, effect size, and sample size in one reference. It is useful for designing experiments, evaluating survey claims, and understanding why small studies often miss real effects.

Key Facts

  • Statistical power is the probability of correctly rejecting a false null hypothesis, so Power=1β\text{Power} = 1 - \beta.
  • A Type I error occurs when a true null hypothesis is rejected, and its probability is α\alpha.
  • A Type II error occurs when a false null hypothesis is not rejected, and its probability is β\beta.
  • For estimating a population mean with margin of error EE, an approximate sample size is n=(zα/2σE)2n = \left(\frac{z_{\alpha/2}\sigma}{E}\right)^2.
  • For estimating a population proportion with margin of error EE, an approximate sample size is n=zα/22p(1p)E2n = \frac{z_{\alpha/2}^2 p(1-p)}{E^2}.
  • When pp is unknown for a proportion sample size calculation, use p=0.5p = 0.5 because it gives the largest required nn.
  • Cohen's standardized mean effect size is d=μ1μ2σd = \frac{\mu_1 - \mu_2}{\sigma}.
  • Increasing nn, increasing effect size, increasing α\alpha, or reducing variability generally increases statistical power.

Vocabulary

Power
Power is the probability that a test detects a real effect when the alternative hypothesis is true.
Significance Level
The significance level α\alpha is the probability of making a Type I error in a hypothesis test.
Type II Error
A Type II error happens when a test fails to reject H0H_0 even though H0H_0 is false.
Effect Size
Effect size measures how large a difference or relationship is in practical, often standardized, terms.
Margin of Error
The margin of error EE is the maximum expected distance between a sample estimate and the true population value at a chosen confidence level.
Minimum Sample Size
Minimum sample size is the smallest nn needed to achieve a target margin of error or power under stated assumptions.

Common Mistakes to Avoid

  • Confusing α\alpha and β\beta is wrong because α\alpha measures false positives while β\beta measures false negatives.
  • Using a smaller sample size than the calculation suggests is wrong because it can lower power and make real effects harder to detect.
  • Forgetting to square the entire fraction in n=(zα/2σE)2n = \left(\frac{z_{\alpha/2}\sigma}{E}\right)^2 is wrong because sample size depends on the square of both the critical value and the margin of error.
  • Using p=0.5p = 0.5 as an estimate after better prior information is available can be inefficient because the best sample size calculation should use the most reasonable expected value of pp.
  • Treating statistical significance as practical importance is wrong because a tiny effect can be significant with a very large nn but still not matter in real life.

Practice Questions

  1. 1 A researcher wants to estimate a mean with 95%95\% confidence, known σ=12\sigma = 12, and margin of error E=3E = 3. Using zα/2=1.96z_{\alpha/2} = 1.96, find the required sample size nn.
  2. 2 A school survey estimates a proportion with 95%95\% confidence and margin of error E=0.04E = 0.04. If no prior estimate of pp is known, use p=0.5p = 0.5 and zα/2=1.96z_{\alpha/2} = 1.96 to find nn.
  3. 3 A test has β=0.18\beta = 0.18. What is the power of the test?
  4. 4 Explain why increasing sample size usually increases power, even when the significance level α\alpha stays the same.