Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Pruitt, Sandi" <SPRUITT@dom.wustl.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: randomly select n:1 matched controls per case without replacement? |
Date | Fri, 25 Feb 2011 07:15:35 -0600 |
Im having problems figuring out how to select matching controls. Id like to randomly select 4 living controls (dead=0) per each deceased case (dead=1). I want to match, without replacement, on length of survival, measured as a continuous measure of months (1, 1.1, 1.2etc.) (although I could recode into days if that was easier). I want to try it 2 ways, matched exactly by month (those living 1, 2, 3 months), and then matched by 6 month intervals (6, 12, 18.months). Any help is much appreciated. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/