In this article, we present attrition, a suite of commands to simplify the maintenance and documentation of implemented exclusion criteria and attrition conditions using standard Stata facilities and to generate an attrition diagram. attrition can be used, both from the command line and in do-files, to keep the diagram up to date with the analysis it documents. Six subcommands (set, exclude, count, tab, list, graph) allow the diagram to be constructed in a versatile way.
FergussonD., AaronS. D., GuyattG., and HébertP.2002. Post-randomisation exclusions: The intention to treat principle and excluding patients from analysis. British Medical Journal325: 652.
2.
JüniP., AltmanD. G., and EggerM.2001. Assessing the quality of randomised controlled trials. In Systematic Reviews in Health Care: Meta-Analysis in Context, 2nd edition, ed. EggerM., Davey SmithG., and AltmanD. G., 87–108. London: BMJ Books.
3.
KirsanovD.2009. Book of Inkscape.San Francisco: No Starch Press.
4.
MoherD., SchulzK. F., and AltmanD. G.2001. The CONSORT statement: Revised recommendations for improving the quality of reports of parallel-group randomised trials. Lancet357: 1191–1194.