Statalist


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

st: simulate using lroc


From   Andrzej Niemierko <[email protected]>
To   Stata <[email protected]>
Subject   st: simulate using lroc
Date   Thu, 03 Sep 2009 12:07:43 -0400

What's the reason that the below -simulate command creates all missing
values for the scalar roc? Also, is it possible to suppress plotting of the
ROC curves after each -lroc?

Andrzej


program define prog, rclass
    preserve
    bsample
        logistic y x1 x2 x3
        lroc
        return scalar roc=r(area)
    restore
end

simulate roc=r(area), reps(100): prog



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

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