Power Analysis

Statistics
Introduced by
Jacob Cohen
Year
1969 (1st ed.); 1988 (seminal 2nd ed.)
Type
Sample size and power planning
Family
Classical statistics

What does it do?

Power analysis is a planning and evaluation technique that quantifies the probability of detecting a real effect of a given magnitude at a chosen significance level.

It links four quantities (sample size, effect size, significance level alpha, and statistical power, which is 1 minus beta) so that researchers can determine the sample size needed before data collection or evaluate the sensitivity of a completed study.

The intuition behind the method

Think of power as the detective's chance of catching the culprit when one is truly present. A study with low power is like sending a detective with poor eyesight: even if the effect exists, the study will often miss it and falsely conclude nothing is there (a Type II error). By specifying how large an effect matters practically, how willing you are to accept a false positive (alpha, typically 0.05), and how often you want to be right when an effect exists (power, typically 0.80), you can calculate exactly how many participants you need to make the study worthwhile.

History

The systematic framework for statistical power was developed by Jacob Cohen, whose first edition of his text appeared in 1969 and whose second edition is cited here as 1988. Cohen introduced standardized effect size indices (d, f, w, r) and provided power tables for tests common in behavioral science. Faul, Erdfelder, and colleagues later implemented these calculations in the G*Power program (2007), providing software for power computations in place of manual table lookup.

When to use it

Use power analysis before a confirmatory study to choose a sample size and to check that the design is sensitive enough to detect the smallest effect that matters in practice. Plan a priori rather than after data collection, using an effect size justified by theory, a meta-analytic summary, or the smallest clinically or practically meaningful difference. Use a sensitivity analysis (the smallest detectable effect for a fixed n) when sample size is externally constrained. Do not use post hoc power, calculated after data collection from the observed effect size, to interpret a result: it adds little beyond the p-value, and modern reporting guidance discourages it.

Limitations and considerations

  • Results are only as good as the assumed effect size, which is often uncertain before data collection and tends to be overestimated when taken from small pilot studies.
  • Post hoc power calculated from the observed effect is a fixed function of the p-value for a given test and alpha, so it adds little when interpreting a non-significant result.
  • Calculations assume the test's distributional assumptions hold; violations such as non-normality or unequal variances can make actual power lower than planned.
  • Complex designs such as multilevel or mixed models need specialised software and additional parameters that are harder to specify in advance.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Makes the trade-off among alpha, power, effect size and n explicit, so the smallest meaningful effect is stated before data are collected.
  • Guards against underpowered designs, which yield unreliable estimates, and against very large samples that make trivially small effects statistically significant.
  • Sensitivity variants report the smallest effect a fixed n could reliably detect, which is useful when sample size cannot be changed.
  • The framework extends to any test with a known power function, including the t-test, ANOVA, chi-square, and correlation tests listed in this entry.

Applications

  • Clinical trials: calculating the number of patients needed to detect a clinically meaningful treatment difference.
  • Survey research: determining sample size for detecting correlations of a specified magnitude.
  • Experimental psychology: ensuring designs are sensitive to theoretically predicted effect sizes.
  • Educational assessment: planning studies comparing two instructional approaches on test scores.
  • Epidemiology: sizing case-control or cohort studies to detect relative risks or odds ratios.
  • Grant and ethics applications: justifying sample size requests to funding bodies and institutional review boards.

How it works

How it works

1

Before running the analysis, fix three of the four interrelated quantities: the significance level alpha (usually 0.05), the desired power (commonly 0.80 or 0.90), and the expected or minimally interesting effect size expressed as a standardized index such as Cohen's d, f, w, or r. The fourth quantity, most often sample size, is then solved for. Cohen's conventional small, medium and large benchmarks for each index are only rough defaults, and a field-specific or theory-based effect size should replace them whenever one is available.

Formula
1 - \beta,\; \alpha,\; \delta \;(\text{effect size}),\; n
2

Select the statistical test the study will ultimately use (for example an independent t-test, ANOVA, chi-square, or correlation). Each test has its own power function, so the chosen test determines which formula or software routine to apply. A priori analysis is performed before data collection; post hoc analysis re-examines power given the observed effect and the actual n.

3

Power equals one minus the probability of a Type II error (beta). It is computed from the non-central distribution of the test statistic under the alternative hypothesis. For a two-sample t-test, power increases with larger n, larger true effect size, smaller within-group variance, and higher alpha.

Formula
1 - \beta = P(\text{reject } H_0 \mid H_1 \text{ true})
4

Solving the power equation for n gives the required n per group (or total n). For some tests this can be done algebraically, but for many, including the t-test, the solution is found numerically. Software such as G*Power, R's pwr package, or online calculators automates this step. The solution must be rounded up to a whole number, and expected attrition should be added when planning recruitment.

Formula
n = f(\alpha,\; 1-\beta,\; \delta)
5

Report the assumed effect size (and its justification), alpha, the target or achieved power, and the resulting n. If power falls below 0.80 at a feasible n, revisit the effect-size assumption or consider a sequential or adaptive design. Post hoc power computed from observed data is less informative than confidence intervals and should not substitute for a priori planning.

Common pitfalls

  • Using the observed effect size from a small pilot study directly in a power calculation tends to inflate the power estimate, because winner's curse bias makes pilot effects look larger than they are.
  • Confusing power with the probability that the alternative hypothesis is true. Power is a pre-data concept: it describes the chance of rejecting H0 given a specified true effect.
  • Reporting post hoc power after a non-significant result to argue the study was adequately powered, which is circular reasoning.
  • Neglecting attrition, non-compliance, or multiple primary endpoints when planning n, leading to an underpowered final analysis.
  • Treating 0.80 as a universal threshold. Some clinical or safety contexts call for 0.90 or higher power.

Frequently asked questions

What power level should I target?

Cohen (1988) suggested 0.80 as a conventional minimum, accepting a 20% chance of a Type II error. Many clinical, safety, and replication studies target 0.90 or 0.95. The appropriate threshold depends on the relative costs of missing a real effect versus running a larger study.

How do I choose the effect size for planning?

Prefer the smallest effect considered practically or clinically meaningful rather than the effect from a prior study. If prior literature exists, use a conservative (downward-adjusted) estimate. Meta-analytic summaries provide more stable starting points than individual pilot studies.

Is post hoc power useful after a non-significant result?

Rarely. For a given test and alpha, post hoc power computed from the observed effect size is a direct function of the p-value, so it adds no independent information: a large p always corresponds to low observed power. Instead, report the confidence interval around the effect size to show which values are compatible with the data.

What software can I use?

G*Power is a free program that covers a wide range of tests (Faul et al., 2007). The R package pwr provides power functions for common tests, and SPSS SamplePower and NCSS PASS are also available and described as easy to use. Choose a tool that supports the specific test and design you plan to analyse.

Does power analysis apply to Bayesian studies?

Yes. Bayesian power analysis, often called design analysis, asks how likely a study is to yield a Bayes factor or credible interval that supports a conclusion. It requires specifying a prior predictive effect distribution. Dedicated software exists for these calculations; check the documentation of the tool you choose to confirm it supports your design.

Related methods

Sources

  1. Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum Associates.

    ISBN: 978-0805802832
  2. Faul, F., Erdfelder, E., Lang, A.-G., & Buchner, A. (2007). G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behavior Research Methods, 39(2), 175–191.

    Open DOI reference