This paper describes how to write Stata programs to estimate the power of virtually any statistical test that Stata can perform. Examples given include the t test, Poisson regression, Cox regression, and the nonparametric rank-sum test.
No takes yet. Share an insight, caveat, or question.
Alan H. Feiveson (2002) studied this question.