RALLOC: Stata module to design randomized controlled trials
Philip Ryan ()
Additional contact information
Philip Ryan: University of Adelaide
Statistical Software Components from Boston College Department of Economics
ralloc provides a sequence of treatments randomly permuted in blocks of constant or varying size. If not constant, the size and order of the blocks are also random. Allocation may be stratified by one or more variables. In non-factorial designs, up to 10 treatments may be specified. Randomisation may also proceed simultaneously on 2 factors: 2x2, 2x3, 3x2, 3x3, 2x4, 4x2, 3x4, 4x3 and 4x4 factorial designs are supported, or on 3 factors for 2x2x2, 2x2x3, 2x3x3 and 3x3x3 designs. ralloc will also handle a 2x2 crossover design with or without a supplementary 3rd period as either a "switchback" or "extra period" design (Jones and Kenward 1989). A typical use of ralloc is in a randomised controlled clinical trial (RCT), and, in particular, in a multicentred trial where balance in treatment allocations may be desirable within centre and other defined strata. This is version 3.7.6 of the software, updated from the version published in STB-54. A test data file is included in raltest6.dta.
Requires: Stata version 9.0 (ralloc), version 6.0 (ralloc_678)
Keywords: randomization; randomisation; random allocation; study design; controlled trial (search for similar items in EconPapers)
Date: 1997-09-13, Revised 2018-01-28
Note: This module may be installed from within Stata by typing "ssc install ralloc". Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/r/ralloc.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/r/ralloc.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/r/ralloc_678.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/r/ralloc_678.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/r/raltest6.dta test data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/r/raltest6_lab.dta test data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/r/raltest12_lab.dta test data file (application/x-stata)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s319901
Ordering information: This software item can be ordered from
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 ().