--- On Tue, 24/3/09, Max Bulsara wrote:
> Is there a way of obtaining a Bootstrap estimate of
> Harrell's C concordance statistics after stcox for
> each bootstrap replication?
*--------------- begin example -------------------
use http://www.stata-press.com/data/cggm/reyes, clear
gen lamm = ln(ammonia)
capture program drop b_conc
program define b_conc, rclass
stcox treat lamm, efron
estat concordance
return scalar c = r(C)
end
bootstrap c=r(c), reps(100): b_conc
*--------------- end example ---------------------
(For more on how to use examples I sent to the Statalist, see
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html )
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/