Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: randomly select n:1 matched controls per case without replacement?


From   "Pruitt, Sandi" <[email protected]>
To   "[email protected]" <[email protected]>
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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index