Understand the idea
After getting a non-significant result, it is tempting to ask 'well, did my study even have enough power to find this effect?' and to answer that by plugging the OBSERVED effect size (the one from the very data that just came back non-significant) into a power calculation.
This calculation goes in a circle: for a given test, design and significance level, the observed power is fixed by the p-value you already have. For the common two-sided test at the 0.05 level, a p-value just above 0.05 gives an observed power of about 50%, whatever the study. So the 'observed power' number is the p-value wearing a different costume; it adds nothing new.
Real power analysis is done BEFORE the study, using an effect size that matters for the decision (from prior research, a pilot study, or a stated smallest important difference), not the effect size that happened to come out of the very data whose power is being questioned.
Computing power after the study from the observed effect is called retrospective power analysis. This is often called post-hoc power or observed power. In the conventional fixed-test setting, this power repeats information already contained in the test result, so treating it as independent evidence of design quality is the post hoc power fallacy.
Practitioner explanation
For the conventional fixed test and design at a specified significance level, observed power computed from the observed effect is a function of the same test statistic and is commonly monotonic in the corresponding p-value. Hoenig and Heisey (2001) explain why this calculation adds no independent information about whether a non-significant result reflects a well-powered null study or a poorly-powered one. The precise mapping depends on the test, design, alternative and alpha.
Consider power for a substantively justified effect selected independently of the observed test result, including when planning replication. An appropriate interval directly communicates the estimate and its uncertainty; it does not add independent observations.
KernelStats' power/sample-size calculator is explicitly a PROSPECTIVE design tool (used before data collection, given an assumed effect size) and its documentation and prompts steer away from an 'observed power' framing after a test has already been run; an appropriate confidence interval, where available, shows the range of effects compatible with the model and data, helping assess whether an inconclusive result still permits practically important effects.
Worked example
Scenario
A two-sample t-test returns p = 0.09, and the analyst computes 'observed power' using the exact effect size from this sample.
Result
Observed power comes out to approximately 40% (for a two-sided test at alpha = .05, p = .09 corresponds to z of about 1.70, and power at that effect is about 0.40).
Interpretation
For this fixed two-sided normal-approximation calculation at alpha = .05, the observed-power figure is tied to the test result; its exact mapping depends on the test and design. It adds no independent evidence that the study was well-designed. An appropriate confidence interval on the effect and a power calculation using an effect size chosen independently of this dataset are more informative alternatives.
Common misconceptions
Misconception
Computing power from the effect size actually observed in a non-significant study tells you whether the study had a fair chance of detecting the effect.
Correction
For a fixed conventional test, design and significance level, post-hoc power computed from the observed effect repeats information in the test result and adds no independent evidence of design quality. A normal approximation for a two-sided test at alpha = 0.05 gives about 50% when p is near 0.05, but this is not a universal conversion. Report an appropriate confidence interval or power based on an effect size chosen independently of the observed result.
References
- The Abuse of Power: The Pervasive Fallacy of Power Calculations for Data Analysis, Hoenig, J. M. and Heisey, D. M. (2001).
- STAT 415: Hypothesis Tests (Part I), Penn State Eberly College of Science, Lesson 9.
