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: Drawing a random sample with constrains


From   Frauke Rudolf <[email protected]>
To   "[email protected]" <[email protected]>
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/


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