“”
Back

Presentation

Power and sample size by simulation

Alex Asher

Friday 12th September

Session

Stata's built-in power command accepts user-defined programs to calculate power, sample size, or effect size. Power can be estimated by simulation, even in complex scenarios where there is no closed-form expression. To estimate sample size given power, multiple simulations are needed. This talk describes how to use simulation to estimate power and sample size
using the power command.

Learn how to do the following:


1. Write simulation programs that are compatible with all the features of
   power, ciwidth, and gsdesign.
2. Customize graphs and tables using an initializer.
3. Control Monte Carlo errors.
4. Estimate sample size using the bisection method.

Speaker

Alex Asher