Power Analysis Through Simulations in STATA: A Step-by-Step Guide
Pol Campos-Mercade
No 2024:4, Working Papers from Lund University, Department of Economics
Abstract:
You want to run an experiment where you anticipate finding a treatment effect. How large should your sample size be to have a reasonable chance of detecting significant results? In this manuscript, I present and explain the Stata code I use to address this question. The code uses simulations to conduct power analyses, offering a flexible alternative to the commonly used analytical tools. Unlike traditional methods, this approach can accommodate any experimental design and statistical test that Stata supports. The code is straightforward, user-friendly, and can be used effectively with minimal coding experience.
Keywords: Power analysis; Simulations; Stata (search for similar items in EconPapers)
JEL-codes: C15 C90 (search for similar items in EconPapers)
Pages: 15 pages
Date: 2024-08-21
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://lucris.lub.lu.se/ws/portalfiles/portal/194368172/WP24_4 Full text (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:hhs:lunewp:2024_004
Access Statistics for this paper
More papers in Working Papers from Lund University, Department of Economics School of Economics and Management, Box 7080, S-22007 Lund, Sweden. Contact information at EDIRC.
Bibliographic data for series maintained by Iker Arregui Alegria ().