powersim: simulation-based power analysis for linear and generalized linear models
AbstractA widespread tool in the context of a point null hypothesis significance testing framework is the computation of statistical power, especially in the planning stage of quantitative studies. However, asymptotic power formulas are often not readily available for certain tests, or are too restrictive in their underlying assumptions to be of much use in practice. The Stata package -powersim- exploits the flexibility of a simulation-based approach by providing a facility for automated power simulations in the context of linear and generalized linear regression models. The package supports a wide variety of uni- and multivariate covariate distributions, and all family and link choices that are implemented in Stata's -glm- command. The package mainly serves two purposes: first, it provides access to simulation-based power analyses for researchers without much experience in simulation studies. Second, it provides a convenient simulation facility for more advanced users who can easily complement the automated data generation with their own code for creating more complex synthetic datasets. The presentation will discuss some advantages of the simulation-based power analysis approach and will go through a number of worked examples to demonstrate key features of the package.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by Stata Users Group in its series 2013 Stata Conference with number 13.
Date of creation: 01 Aug 2013
Date of revision:
This paper has been announced in the following NEP Reports:
You can help add them by filling out this form.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum).
If references are entirely missing, you can add them using this form.