swpermute: Permutation tests for Stepped-Wedge Cluster-Randomised Trials.

Jennifer Thompson ORCID logo; Calum Davey ORCID logo; Richard Hayes ORCID logo; James Hargreaves ORCID logo; Katherine Fielding ORCID logo; (2019) swpermute: Permutation tests for Stepped-Wedge Cluster-Randomised Trials. The Stata Journal, 19 (4). pp. 803-819. ISSN 1097-8879 DOI: 10.1177/1536867X19893624
Copy

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.


picture_as_pdf
swpermute_accepted_version.pdf
subject
Accepted Version
Available under Creative Commons: NC-ND 3.0

View Download

Atom BibTeX OpenURL ContextObject in Span Multiline CSV OpenURL ContextObject Dublin Core Dublin Core MPEG-21 DIDL EndNote HTML Citation JSON MARC (ASCII) MARC (ISO 2709) METS MODS RDF+N3 RDF+N-Triples RDF+XML RIOXX2 XML Reference Manager Refer Simple Metadata ASCII Citation EP3 XML
Export

Downloads