COLLEGE STATISTICS • HYPOTHESIS TESTING

Power

The probability of correctly rejecting a false null hypothesis—a cornerstone of rigorous study design.

Historical Context & Motivation

The formal theory of hypothesis testing crystallized in the early twentieth century through a spirited intellectual debate between two camps: Ronald A. Fisher, who championed significance testing with p-values, and the partnership of Jerzy Neyman and Egon Pearson, who introduced the concept of an alternative hypothesis and, with it, the notion of statistical power. Fisher's framework asked only whether data were surprising under a null hypothesis; Neyman and Pearson argued that a complete decision procedure must also quantify the probability of detecting a real effect when one exists. This conceptual leap transformed statistics from a tool for measuring surprise into a rigorous framework for making decisions under uncertainty.

1925
Fisher's Significance Testing
R. A. Fisher publishes Statistical Methods for Research Workers, formalizing the p-value and the concept of rejecting a null hypothesis at a fixed significance level.
1928
Neyman–Pearson Lemma Foundations
Neyman and Pearson publish their first joint paper proposing a decision-theoretic framework that explicitly considers an alternative hypothesis, laying the groundwork for the Type I / Type II error dichotomy.
1933
The Neyman–Pearson Lemma
Their landmark paper proves that the likelihood ratio test is the most powerful test of a simple null against a simple alternative for a given significance level, formally defining power as 1 − β.
1969
Cohen's Power Analysis
Jacob Cohen publishes Statistical Power Analysis for the Behavioral Sciences, providing practical tables and effect-size conventions that made power analysis accessible to applied researchers across disciplines.
1990s–Present
Power in Reproducibility
Growing concerns about the replication crisis elevate power analysis from a methodological nicety to a prerequisite for funding and publication, with journals and agencies requiring prospective sample-size justifications.

The central question that power addresses is deceptively simple: If a real effect exists, how likely is our study to find it? Without answering this question before collecting data, researchers risk investing time and resources into studies that are statistically doomed to fail—a problem that remains at the heart of the modern replication crisis.

Core Principles & Definitions

To understand power, one must first situate it within the broader Neyman–Pearson framework of hypothesis testing. Every test involves a null hypothesis (H₀) representing the status quo and an alternative hypothesis (H₁ or Hₐ) representing the effect the researcher hopes to detect. Two kinds of errors are possible: a Type I error (rejecting H₀ when it is true, with probability α) and a Type II error (failing to reject H₀ when H₁ is true, with probability β). Power is defined as 1 − β: the probability that the test correctly rejects a false null hypothesis.

1

Power = 1 − β

Power is the complement of the Type II error rate. A study with β = 0.20 has power = 0.80, meaning it has an 80% chance of detecting a real effect.
2

Four Determinants

Power depends on four quantities: the significance level (α), the sample size (n), the effect size (δ or d), and the population variability (σ). Changing any one alters power.
3

Prospective Design Tool

Power analysis is most valuable when performed before data collection (a priori) to determine the minimum sample size needed to detect a meaningful effect at a desired power level.
4

Effect Size as Input

Power cannot be computed without specifying the magnitude of the effect under H₁. Cohen's conventions (small d = 0.2, medium d = 0.5, large d = 0.8) offer rough benchmarks when prior data are unavailable.
5

Trade-off with α

Lowering α (making it harder to reject H₀) simultaneously increases β and reduces power. Researchers must balance the costs of Type I and Type II errors for their specific context.
KEY TAKEAWAY
Think of statistical power like a metal detector's sensitivity. Setting α is like choosing how loud the beep must be before you dig (your threshold for acting). Power is the probability the detector actually beeps when there really is metal underground. A larger metal object (bigger effect size), a more sensitive detector (larger n), and a lower threshold for beeping (higher α) all increase the chance you find the buried treasure. Designing a study without a power analysis is like buying a metal detector without checking whether it can sense objects smaller than a car.

Visual Explanation — Null and Alternative Distributions

The most intuitive way to visualize power is to plot the sampling distributions of the test statistic under both hypotheses on the same axis. The diagram below shows two normal curves: the null distribution centered at μ₀ and the alternative distribution centered at μ₁. The critical value z* (determined by α) divides the null distribution into rejection and non-rejection regions. Power is the area of the alternative distribution that falls in the rejection region—visually, the pink-shaded region to the right of the critical value.

The cyan curve represents the null distribution centered at μ₀. The pink curve represents the alternative distribution centered at μ₁. The dashed yellow line marks the critical value z*. Power is the pink-shaded area of the alternative distribution that falls in the rejection region (right of z*). The purple-shaded region under the alternative curve to the left of z* represents β, the probability of a Type II error.

Notice that as the distance between μ₀ and μ₁ increases (a larger effect size), the two curves separate, and more of the alternative distribution's area falls in the rejection region—thus power increases. Similarly, if we increase the sample size, both distributions become narrower (the standard error shrinks), which also pushes more of the alternative distribution past the critical value. Conversely, choosing a smaller α shifts z* to the right, reducing the rejection region and decreasing power. This visual trade-off is the geometric intuition behind every power calculation.

Mathematical Framework

We derive the power formula for the most common scenario: a one-sample z-test for a population mean with known variance σ². Consider testing H₀: μ = μ₀ against H₁: μ = μ₁ (where μ₁ > μ₀) at significance level α. Under H₀, the test statistic Z = (X̄ − μ₀) / (σ / √n) follows a standard normal distribution. We reject H₀ when Z ≥ zα, the upper-α critical value.

TYPE II ERROR PROBABILITY
β = P(Z < zα | μ = μ₁) = Φ(zα − (μ₁ − μ₀)/(σ/√n))
Where Φ is the standard normal CDF, zα is the upper-α critical value, μ₁ − μ₀ is the true difference, and σ/√n is the standard error of the mean.
POWER
Power = 1 − β = 1 − Φ(zα − δ√n / σ)
Here δ = μ₁ − μ₀ is the raw effect size. Equivalently, letting d = δ/σ (Cohen's d), we write Power = 1 − Φ(zα − d√n). This form clearly shows that power increases with both effect size d and sample size n.
SAMPLE SIZE FORMULA
n = ((zα + zβ) × σ / δ)²
Rearranging the power equation to solve for n yields this formula, where zβ is the upper-β critical value. For 80% power (β = 0.20), zβ = 0.842; for 90% power, zβ = 1.282.

The sample size formula is the workhorse of prospective power analysis. Notice that n is inversely proportional to δ²: halving the effect size you wish to detect quadruples the required sample size. This quadratic relationship explains why detecting small effects demands large studies. The formula also reveals that σ enters linearly in the numerator, so reducing measurement variability through better instruments or designs is a powerful (and often cheaper) alternative to simply recruiting more subjects.

📐 Two-Sided Tests
For a two-sided test (H₁: μ ≠ μ₀), replace zα with zα/2 in all formulas above. For example, at α = 0.05, use zα/2 = 1.96 instead of zα = 1.645. This reduces power compared to a one-sided test at the same α, because the critical value moves further from the center of the null distribution.

Factors That Influence Power

Researchers often ask which lever to pull to increase power. The answer depends on which factors are under their control and which are inherent to the phenomenon being studied. The diagram below illustrates how each of the four key determinants shifts the balance between Type II error and power.

Each panel isolates one determinant of power while holding the other three constant. The bar heights and numeric labels show how power changes. Notice that sample size and effect size have the strongest influence, while variability operates in the inverse direction—greater variability reduces power.
Summary of the four determinants of power and whether each is under researcher control.
FactorDirection of ChangeEffect on PowerResearcher Control?
Sample size (n)↑ Increase↑ Power increasesYes — primary lever
Effect size (d)↑ Increase↑ Power increasesUsually fixed by nature, but can be maximized by studying conditions that maximize the treatment contrast
Significance level (α)↑ Increase↑ Power increasesYes, but constrained by convention (α = 0.05) and the cost of false positives
Variability (σ)↓ Decrease↑ Power increasesPartially — via better measurement, homogeneous samples, or covariates

Worked Example — A Priori Power Analysis

A clinical researcher wants to test whether a new cognitive training program improves working memory scores compared to a known population mean of μ₀ = 100 (σ = 15). Previous pilot data suggest the training raises scores by about 5 points, so μ₁ = 105. Using a two-sided test at α = 0.05, how many participants are needed for 80% power?

Sample Size for Detecting a 5-Point Improvement
1
Step 1 — Identify the Given ValuesWe have μ₀ = 100, μ₁ = 105, σ = 15, α = 0.05 (two-sided), and desired power = 0.80 (so β = 0.20).
δ = μ₁ − μ₀ = 5, σ = 15, α = 0.05, β = 0.20
2
Step 2 — Compute Cohen's dCohen's d standardizes the effect size by dividing the raw difference by the population standard deviation: d = δ / σ = 5 / 15 = 0.333. This falls between Cohen's conventions for a small (0.2) and medium (0.5) effect.
d = 0.333 (small-to-medium effect)
3
Step 3 — Look Up Critical z-ValuesFor a two-sided test at α = 0.05, zα/2 = 1.96. For 80% power (β = 0.20), zβ = 0.842.
zα/2 = 1.96, zβ = 0.842
4
Step 4 — Apply the Sample Size Formulan = ((zα/2 + zβ) × σ / δ)² = ((1.96 + 0.842) × 15 / 5)² = (2.802 × 3)² = (8.406)² = 70.66.
n = 70.66
5
Step 5 — Round Up and InterpretSince we cannot have a fractional participant, we round up to the next whole number. The researcher needs at least 71 participants to achieve 80% power for detecting a 5-point improvement with σ = 15 at the α = 0.05 significance level (two-sided). If the researcher wanted 90% power, replacing zβ = 1.282 would yield n = ((1.96 + 1.282) × 3)² = (9.726)² = 94.6 ≈ 95 participants.
n = 71 for 80% power; n = 95 for 90% power

Strategies for Increasing Power & Common Pitfalls

In practice, researchers face budget and logistical constraints that limit sample size, making it essential to consider all available strategies for boosting power. At the same time, several common mistakes can lead to misleading power calculations or inappropriate interpretations.

Legitimate strategies (✓) and common pitfalls (✗) related to statistical power.
Strategy / PitfallDescriptionImpact on Power
✓ Increase sample sizeThe most direct and universally applicable approach—collect more data to narrow the sampling distribution.Strong positive; power scales with √n.
✓ Reduce variabilityUse more precise instruments, restrict the population (e.g., narrow age range), or include covariates (ANCOVA) to absorb extraneous variance.Moderate to strong; equivalent to increasing d.
✓ Use a one-sided testWhen the direction of the effect is firmly established a priori, a one-sided test uses a less extreme critical value and increases power.Modest positive; but must be justified before data collection.
✓ Use within-subjects designsPaired or repeated-measures designs eliminate between-subject variability, often dramatically reducing the error term.Strong positive when within-subject correlation is high.
✗ Post hoc power analysisComputing power after obtaining a non-significant result using the observed effect size is circular and provides no useful information—it is a one-to-one function of the p-value.Misleading; widely criticized in the literature (Hoenig & Heisey, 2001).
✗ Ignoring multiple comparisonsWhen testing multiple hypotheses, corrections like Bonferroni reduce per-comparison α, which lowers power unless sample size is increased accordingly.Negative if not planned for; can render studies severely underpowered.
KEY TAKEAWAY
Power analysis is a design tool, not a post-mortem. Like checking your fuel gauge before a road trip rather than after you've run out of gas, a priori power analysis ensures your study has the resources to reach its destination. Post hoc power calculations, by contrast, simply re-express the p-value in a different metric and provide no additional insight.

Connections to Advanced Theory

The concept of power extends naturally into several advanced areas of statistics and study design. Understanding these connections enriches one's appreciation of why power analysis occupies such a central role in modern research methodology.

Connections between introductory power concepts and advanced statistical methodology.
Introductory ConceptAdvanced ExtensionKey Idea
Power for a z-testPower for t-tests and ANOVAWhen σ is unknown and estimated from data, the test statistic follows a t-distribution (or F-distribution). Power is computed using the non-central t (or F) distribution, where the non-centrality parameter λ = d√n encodes the signal-to-noise ratio.
Fixed-sample power analysisSequential / adaptive designsInstead of fixing n in advance, sequential designs allow researchers to analyze data at interim looks and stop early for efficacy or futility, maintaining overall Type I error control while often reducing the expected sample size.
Cohen's conventions for dMinimum detectable effect (MDE)Rather than relying on generic benchmarks, researchers increasingly specify the smallest effect size of practical importance (the MDE) and design their study to detect it, connecting power analysis to substantive theory.
Frequentist powerBayesian design analysisBayesian counterparts replace 'probability of rejecting H₀' with metrics like the probability that a credible interval excludes zero or the expected Bayes factor, offering a richer decision framework that can incorporate prior information.

As you progress through advanced coursework, you will encounter the non-central distribution framework repeatedly—it is the unifying mathematical structure behind power calculations for virtually all parametric tests. Software packages such as G*Power, R's pwr package, and Python's statsmodels.stats.power module automate these calculations, but understanding the underlying logic ensures you can critically evaluate the assumptions built into any power analysis.

Practice Problems

PROBLEM 1CONCEPTUAL
A researcher conducts a two-sample t-test and obtains a p-value of 0.23, concluding that there is no significant difference. A colleague suggests computing 'post hoc power' to determine whether the study had enough power. Explain why this suggestion is problematic and what the researcher should have done instead.
PROBLEM 2BASIC CALCULATION
A one-sided z-test is planned at α = 0.05 to detect a mean difference of δ = 3 when σ = 12 and n = 64. What is the power of this test? (Use zα = 1.645.)
PROBLEM 3INTERMEDIATE
Using the same setup as Problem 2 (δ = 3, σ = 12, one-sided α = 0.05), how large must n be to achieve 80% power? Verify your answer by computing the power at that n.
PROBLEM 4APPLIED
A pharmaceutical company plans a two-sided test (α = 0.05) comparing a new drug's mean blood pressure reduction (μ₁) to a placebo (μ₀ = 0 mmHg reduction). Prior trials suggest the drug reduces BP by 4 mmHg with a pooled standard deviation of 10 mmHg. The company can afford to recruit at most 200 participants (100 per group). Using the two-sample z-test approximation nper group = 2 × ((zα/2 + zβ) / d)², does the company have sufficient power at 80%? What about at 90%?
PROBLEM 5CRITICAL THINKING
A social scientist argues: 'Since power depends on the true effect size, and we never know the true effect size, power analysis is fundamentally unknowable and therefore useless.' Critically evaluate this claim. In your response, discuss at least two approaches researchers use to handle the unknown true effect size in practice, and explain why power analysis remains valuable despite this uncertainty.

Summary — Statistical Power

Statistical power is the probability that a hypothesis test correctly rejects a false null hypothesis, formally defined as 1 − β where β is the Type II error rate. Power is determined by four factors: sample size (n), effect size (d), significance level (α), and population variability (σ). Increasing n or d raises power, increasing σ lowers it, and raising α increases power at the cost of more Type I errors.

The key formula for a one-sample z-test is n = ((zα + zβ) × σ / δ)², which reveals that the required sample size scales with the square of the inverse effect size. A priori power analysis is an essential component of responsible study design, while post hoc power analysis is circular and uninformative. A conventional target of 80% power balances the costs of Type I and Type II errors for most research contexts. Advanced extensions include non-central distributions for t-tests and ANOVA, sequential designs, and Bayesian design analysis.

Varsity Tutors • College Statistics • Power