SWPERMUTE: Stata module to compute Permutation tests for Stepped-Wedge Cluster-Randomised Trials
Permutation tests are useful in stepped-wedge trials to provide robust statistical tests of intervention-effect estimates. However, the Stata command permute does not produce valid tests in this setting because individual observations are not exchangeable. We introduce the swpermute command that permutes clusters to sequences to maintain exchangeability. The command provides additional functionality to aid users in performing analyses of stepped-wedge trials. In particular, we include the option “withinperiod" that performs the specified analysis separately in each period of the study and the resulting period-specific intervention-effect estimates are combined as a weighted average.
Additional Information
Handle: RePEc:boc:bocode:s458426
Keywords
Stepped-wedge trial, Permutation tests, Cluster randomised trial, StataItem Type | Data Collection |
---|---|
Capture method | Simulation, Other |
Date | 29 June 2019 |
Language(s) of written materials | English |
Creator(s) |
Thompson, J |
Participating Institutions | London School of Hygiene & Tropical Medicine, London, United Kingom |
Date Deposited | 25 Sep 2020 14:10 |
Last Modified | 08 Jul 2021 12:49 |
Publisher | Statistical Software Components S458426 |
Explore Further
- IDEAS: Economic Research (Online Data Resource)
- The STATA Journal (Paper)
No files available. Please consult associated links.
- IDEAS: Economic Research (Online Data Resource)
- The STATA Journal (Paper)