Statistical power and power analysis

Analytika TeamLast reviewed 7 min read

A study with low power is a gamble: even if the effect you’re looking for is real, it will probably miss it. Worse, when an underpowered study does find a significant result, the effect it reports is usually exaggerated. Power analysis is how you avoid both problems.

What power is

Power is the probability of rejecting the null hypothesis when it is false: the chance of a true positive. It’s 1 − β, where β is the Type II error rate. 80% power means a real effect of the assumed size would come out significant in 8 of 10 studies like yours.

What drives power

  • Effect size: bigger effects are easier to detect (see Cohen’s d).
  • Sample size: more data means less noise in your estimates.
  • α: a stricter threshold (.01 instead of .05) lowers power.
  • Variability: precise measurement and homogeneous samples raise power.
  • Design: paired and repeated-measures designs remove between-person variation and are often far more powerful than comparing separate groups.

How power grows with sample size

For an independent t-test at α = .05 looking for a medium effect (d = 0.5):

Per groupPower
1019%
2034%
3048%
6480%
10094%

A study with 20 per group, common in student projects, has about a one-in-three chance of detecting a medium effect. Most of the time it would report “no significant difference” even though the difference is real.

Doing a power analysis

An a priori power analysis works out the sample size you need. You supply:

  1. The test you plan to run.
  2. The smallest effect size worth detecting. Base it on previous research, pilot data, or the smallest difference that would matter in practice. Don’t just pick “medium” by default.
  3. α (usually .05) and the target power (usually .80 or .90).

For an independent t-test at α = .05 and 80% power, the result is:

Effect size (d)Needed per group
0.8 (large)26
0.5 (medium)64
0.2 (small)394

Halving the effect size roughly quadruples the sample you need. Small effects need large studies. Our free sample size calculator runs these calculations for t-tests, ANOVA, correlations and chi-square, and the guide to sample size covers how to justify your choice to examiners. Analytika can also run an a priori power analysis when you ask, for example, “how many participants do I need to detect d = 0.4?”.

Why “post-hoc power” is a bad idea

Some software calculates “observed power” from the effect size found in your own data. It’s a direct transformation of the p-value: non-significant results always have low observed power, so it can’t tell you anything the p-value didn’t. To judge what a non-significant result means, look at the confidence interval. If it includes effects you’d care about, the study couldn’t rule them out. If you want to report power after the fact, calculate it for a meaningful effect size chosen independently of your results, not the observed one.

Reporting a power analysis

An a priori power analysis indicated that 64 participants per group would provide 80% power to detect a medium effect (d = 0.5) with a two-tailed independent t-test at α = .05.

More in Hypothesis testing

Try it with the free tools

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free