2026-07-09http://hdl.handle.net/123456789/568295This 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.Power by simulationText