Hi, everyone,
A problem in simulation torment me. Any suggestion is appreciated!
I got a survey data (outcome: disease, yes/no), which is supposed to
be too large in sample size. This could result in Type I Error. I try
to solve this problem through simulating data.
Based on the original data, I built a logistic model to obtain a
fitted probability to each subject. And then, I want to simulate
binary data for one particular health outcome (1 for yes and 0 for no)
based on the fitted probability (from above step) using binomial
probability distribution. But I don't know how to do this kind
simulation is stata?
Thanks in advance for your help!
Feiyean
mailto:[email protected]
*
* 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/