
Pol Campos
Senior lecturer

Power Analysis Through Simulations in STATA: A Step-by-Step Guide
Author
Summary, in English
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.
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.
Department/s
- Department of Economics
Publishing year
2024
Language
English
Publication/Series
Working papers
Issue
2024:4
Full text
- Available as PDF - 539 kB
- Download statistics
Document type
Working paper
Topic
- Economics
Keywords
- Power analysis
- Simulations
- Stata
- C15
- C90
Status
Published