Sama wrote:
Thanks. This is quite helpful. I just have one question. Why did you use
the
command
replace bwt=-bwt
---------------------------------------------------------------------
Well, smoking is associated with LOW birthweight, but I wanted to see an
ROC curve with an area > 0.5. Rather that inverting -bwt-, I could let
bwt "predict" nonsmoking:
gen nonsmoke=1-smoke
and use -nonsmoke- as the dependent variable.
Svend
__________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone: +45 8942 6090
Home: +45 8693 7796
Email: [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/