This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Calculation of power for stepped wedge design | |
| # Adapted from an excel-based calculator from Jim Hughes, [email protected] | |
| # see http://faculty.washington.edu/peterg/Vaccine2006/articles/HusseyHughes.2007.pdf | |
| # http://faculty.washington.edu/jphughes/Power%20for%20stepped%20wedge.xls | |
| # http://faculty.washington.edu/jphughes/Power%20for%20stepped%20wedge%20(mean).xls | |
| # Adapted by Eric Green, [email protected], @ericpgreen | |
| # (1) enter or (2) import design matrix =========================================================== | |
| # skip option 1 if using option 2, and vice versa | |
| # power.p is the final object of interest for proportions |
NewerOlder