RETR_PWR: an SAS macro for retrospective statistical power analysis

Behav Res Methods Instrum Comput. 2003 Nov;35(4):585-9. doi: 10.3758/bf03195537.


In contrast to prospective power analysis, retrospective power analysis provides an estimate of the statistical power of a hypothesis test after an investigation has been conducted rather than before. In this article, three approaches to obtaining point estimates of power and an interval estimation algorithm are delineated. Previous research on the bias and sampling error of these estimates is briefly reviewed. Finally, an SAS macro that calculates the point and interval estimates is described. The macro was developed to estimate the power of an F test (obtained from analysis of variance, multiple regression analysis, or any of several multivariate analyses), but it may be easily adapted for use with other statistics, such as chi-square tests or t tests.

Publication types

  • Review

MeSH terms

  • Algorithms
  • Data Interpretation, Statistical*
  • Models, Theoretical*
  • Retrospective Studies*
  • Statistics as Topic* / methods