Statalist


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

st: draw a sample from variables and incidence rates


From   moleps islon <moleps2@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: draw a sample from variables and incidence rates
Date   Wed, 18 Mar 2009 13:18:40 +0100

Dear statalisters,
2 questions:
-Is there an easy way to draw 40 random patients from a sample of 450
and generate a dummy variable containg 0 "not drawn" 1"drawn". E.g a
command like : draw variable 40, gen(dummy)
-How can i compare an exposed group to a non-exposed group when I have
the number of cancer incidents in the exposed group, follow-up time
and only adjusted incidence rates for the non-exposed group ? E.g 11
cancers in 217 exposed subjects with a total follow-up time of 2500
years compared to the adjusted incidence rate of 6/100000.

Regards

Moleps
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index