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

Re: st: Bootstrap Estimates Stata V10

From   Maarten buis <>
Subject   Re: st: Bootstrap Estimates Stata V10
Date   Wed, 25 Mar 2009 11:48:20 +0000 (GMT)

--- 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, 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)
bootstrap c=r(c), reps(100): b_conc
*--------------- end example ---------------------
(For more on how to use examples I sent to the Statalist, see )

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index