Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to obtain random sample of dichotomous (0,1) variable


From   "Viktor Slavtchev" <[email protected]>
To   [email protected]
Subject   st: how to obtain random sample of dichotomous (0,1) variable
Date   Fri, 27 Apr 2007 15:40:08 +0200

Dear Stata-listers,
how can I create a random sample of size N of discrete (dichotomous) variable (0=no; 1=yes)?
Thanks for any help!

viktor

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index