Campos-Mercade, Pol - 2024
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...