Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Generating block randomation schedule using Stata


From   Philip Ryan <philip.ryan@adelaide.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Generating block randomation schedule using Stata
Date   Thu, 28 Aug 2003 09:12:47 +0930

I wrote a program called -ralloc.ado- that went through several versions in the STB. The latest version, updated after STB-54, resides on the SSC server.

net describe ralloc

TITLE
'RALLOC': module to design randomized controlled trials

DESCRIPTION/AUTHOR(S)

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 on one or more variables. Randomisation may also
proceed simultaneously on 2 factors: 2x2, 2x3, 3x2, 3x3, 2x4,
4x2, 3x4 and 4x3 factorial designs are supported. 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.2.5 of the software, updated from the
version published in STB-54. A test data file is included in
raltest6.zip.


Phil






-----Original Message-----
From: Rolf Klemm [mailto:rklemm@jhsph.edu]
Sent: Wednesday, August 27, 2003 11:54 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: Generating block randomation schedule using Stata

I want to generate a randomization schedule for a study with 2 arms for a sample size of 800 with a block size of 8, or 100 blocks of 8. Is there a way to do this in Stata?

Philip Ryan
Associate Professor,
Department of Public Health
University of Adelaide 5005
South Australia
tel 61 8 8303 3570
fax 61 8 8223 4075
http://www.public-health.adelaide.edu.au/
CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright. If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index