| Literature DB >> 32565746 |
Jennifer Thompson1, Calum Davey1, Richard Hayes1, James Hargreaves1, Katherine Fielding1.
Abstract
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 with the resulting period-specific intervention-effect estimates combined as a weighted average. We also include functionality to test non-zero null hypotheses to aid the construction of confidence intervals. Examples of the application of swpermute are given using data from a trial testing the impact of a new tuberculosis diagnostic test on bacterial confirmation of a tuberculosis diagnosis.Entities:
Keywords: cluster-randomised; permutation test; randomisation test; randomization test; st0001; stepped-wedge; swpermute
Year: 2019 PMID: 32565746 PMCID: PMC7305031 DOI: 10.1177/1536867X19893624
Source DB: PubMed Journal: Stata J ISSN: 1536-867X Impact factor: 2.637