Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Frauke Rudolf <FRAUKE.RUDOLF@ki.au.dk> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: Drawing a random sample with constrains |
Date | Mon, 26 Nov 2012 13:55:33 +0000 |
Hi! I would like to split a dataset of 1259 individuals in two (randomly), but with the constraint that there should be an equal number of unfavorable outcomes in each and 10 outcome events per independent variable (there are 11). Is that possible? And if yes, how? Thank you in advance, Frauke * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/