Statistics · medium

Explain statistical power and what increases it.

Asked in Data Scientist interviews, in the Statistics round.

Short answer

Power is the probability of detecting an effect that is really there, one minus the Type II error rate. It rises with sample size, effect size and a higher alpha, and falls with variance. 80% is the usual target.

How to answer it

Definition

Power is the probability of detecting a real effect: the chance the test comes back significant given that the effect genuinely exists. It equals 1 minus beta, the false-negative rate.

Formula

power = P(reject the null | the null is false)
      = 1 - beta

convention: 0.80, which accepts missing 1 real effect in 5

What increases it

larger sample                power up      the usual lever, and quadratic
larger true effect           power up      not yours to choose
lower variance               power up      better metric, CUPED, blocking
higher alpha                 power up      at the cost of more false positives
one-tailed test              power up      only when genuinely defensible
paired design                power up      removes between-subject variance

Variance reduction deserves more attention than it usually gets. Trimming the metric's noise, or using pre-experiment data as a covariate, buys power without buying traffic, which is often the only lever available.

The underpowered trap

An underpowered test that comes back significant is not reassuring. Because only a large observed effect can clear the threshold on a small sample, the effects that do get reported from underpowered studies are systematically overstated. This is the winner's curse, and it is why replications so often disappoint.

Key points

FAQ

The 30-second answer

Power is the probability of detecting an effect that is genuinely there, so it is one minus the false-negative rate. Eighty percent is the usual target, which means accepting that one real effect in five gets missed.
Four things raise it: a larger sample, a larger true effect, lower variance, and a looser significance threshold. Sample size is the obvious lever and it is quadratic, so halving the effect I want to detect quadruples the traffic. The underrated one is variance reduction, using a less noisy metric or pre-experiment data as a covariate, because it buys power without buying traffic.
I would also flag that a significant result from an underpowered test tends to overstate the effect, since only a large observed effect could have cleared the bar at that sample size.

In the interview

Practice this for real