destring
command and the UCLA website describes this command in more detail. There is a short example with destring
on page 39 of the Hamilton book.power
command. Stata also created a set of tutorial videos on how to do these calculations. Like I said, some scenarios are very complicated and need simulations for approximating power and sample size calculations. But this is a very good start. Finally, I haven’t used this website but it seems useful.List of links (in case you are printing this page):
Remember that all the material can I made and is public is available at https://github.com/lcolladotor/kandahar. The restricted access material is available via http://courseplus.jhu.edu/.