Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: bootstrap validation and c statistics (help me please !)
From
"Hong, Sounman" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: bootstrap validation and c statistics (help me please !)
Date
Tue, 24 May 2011 18:25:56 -0400
I need to validate my model. I heard that I need to do either by a cross-validation or a bootstrap. I have three questions.
1. What is the best statistics to report if I want to show that my model is validated using bootstrap? I read a paper that reported C statistics, although I have to study what that is. Do you recommend me reporting C statistics?
2. Does STATA have a code that generates a shrinkage factor?
3. I wrote below my STATA code that performs bootstrap and get a C statistics. But I got an error and I don't know why. Please advise.
use bootstrap.dta, clear
logit DEPVAR BPA
estat concordance
matrix b = e(b)
capture program drop mysim
program define mysim, rclass
use bootstrap.dta, clear
bsample
lroc BPA, nograph beta(b)
return scalar c=r(c)
end
simulate c=r(c), reps(100): mysim
Thank you in advance. Any advice would be greatly appreciated.
-Sounman
________________________________________
From: [email protected] [[email protected]]
Sent: Tuesday, May 24, 2011 6:13 PM
To: Hong, Sounman
Subject: Welcome to statalist
--
Welcome to the statalist mailing list!
Please save this message for future reference. Thank you.
If you ever want to remove yourself from this mailing list,
you can send mail to <[email protected]> with the following
command in the body of your email message:
unsubscribe statalist [email protected]
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <[email protected]> .
This is the general rule for most mailing lists when you need
to contact a human.
Here's the general information for the list you've subscribed to,
in case you don't already have it:
Welcome to Statalist. We hope that you will find Statalist postings
interesting and useful, and that you may feel able to contribute.
Statalist has been going since 1994, and over that time we have
developed an FAQ which is at
http://www.stata.com/support/faqs/res/statalist.html
It is packed with information and, indeed, the distilled wisdom of
Statalist veterans.
Please read that FAQ at your convenience, but certainly before you post
anything to the list. We hope you will find that acting on the advice
given in the FAQ will increase the chance of someone answering your
questions fruitfully and keep the list pleasant for all.
*
* 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/