The browser you are using is not supported by this website. All versions of Internet Explorer are no longer supported, either by us or Microsoft (read more here: https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Please use a modern browser to fully experience our website, such as the newest versions of Edge, Chrome, Firefox or Safari etc.

 Pol Campos . Photo

Pol Campos

Senior lecturer

 Pol Campos . Photo

Power Analysis Through Simulations in STATA: A Step-by-Step Guide

Author

  • Pol Campos-Mercade

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.

Department/s

  • Department of Economics

Publishing year

2024

Language

English

Publication/Series

Working papers

Issue

2024:4

Document type

Working paper

Topic

  • Economics

Keywords

  • Power analysis
  • Simulations
  • Stata
  • C15
  • C90

Status

Published