EconPapers    
Economics at your fingertips  
 

Permutation tests for stepped-wedge cluster-randomized trials

Jennifer Thompson (), Calum Davey (), Richard Hayes (), James Hargreaves () and Katherine Fielding ()
Additional contact information
Jennifer Thompson: London School of Hygiene and Tropical Medicine
Calum Davey: London School of Hygiene and Tropical Medicine
Richard Hayes: London School of Hygiene and Tropical Medicine
James Hargreaves: London School of Hygiene and Tropical Medicine
Katherine Fielding: London School of Hygiene and Tropical Medicine

Stata Journal, 2019, vol. 19, issue 4, 803-819

Abstract: Permutation tests are useful in stepped-wedge trials to provide robust statistical tests of intervention-effect estimates. However, the permute command does not produce valid tests in this setting because individual observations are not exchangeable. We introduce the swpermute command, which permutes clusters to sequences to maintain exchangeability. The command provides additional functionality for performing analyses of stepped-wedge trials. In particular, we include the withinperiod option, which 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 nonzero null hypotheses to aid in 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.

Keywords: swpermute; stepped wedge; cluster randomized; permutation test; randomization test (search for similar items in EconPapers)
Date: 2019
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj19-4/st0577/
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0577 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:19:y:2019:i:4:p:803-819

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X19893624

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:19:y:2019:i:4:p:803-819