EconPapers    
Economics at your fingertips  
 

SWPERMUTE: Stata module to compute Permutation tests for Stepped-Wedge Cluster-Randomised Trials

Jennifer Thompson ()
Additional contact information
Jennifer Thompson: London School of Hygiene and Tropical Medicine

Statistical Software Components from Boston College Department of Economics

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 and the resulting period-specific intervention-effect estimates are combined as a weighted average.

Language: Stata
Requires: Stata version 13
Keywords: permutation tests; randomized trials; cluster-randomized trials (search for similar items in EconPapers)
Date: 2017-11-13, Revised 2023-12-21
Note: This module should be installed from within Stata by typing "ssc install swpermute". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/swpermute.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/swpermute.dlg program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/swpermute.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tbconfirmed.dta sample data file (application/x-stata)

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:boc:bocode:s458426

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s458426