| To: | "s-news" <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Cox + bootstrap |
| From: | "Heymans, MW" <mw.heymans@vumc.nl> |
| Date: | Sat, 6 May 2006 08:34:10 +0200 |
| Thread-index: | AcZw1xULk4zkBRcBQbS57s+vd3qEFQ== |
| Thread-topic: | Cox + bootstrap |
|
Hi all,
Help is appreciated on this one.
I wrote some simple lines to apply the bootstrap
and Cox regression (used Canty's and Harrells functions).
bw.fun
<- function(data, i){ d <- data[,
i] t
<- d$dag2 e <- d$st2 dd
<- datadist(d = d) options(datadist
= 'dd') Srv <-
Surv(t,e) fit.bw <- cph(form.m, data = ""
surv=TRUE, time.inc = 180, x = T, y = T) fb <- fastbw(fit.bw)
list(coef(fb)) } bw.boot
<- boot(data = "" statistic = bw.fun, R = 5) However, the regr. coeffiecients are not stored in
bw.boot$t and I do not know why? (it is the same with other fastbw values (like
names.kept, factors.kept). It is strange because If I do fastbw on the original
sample about 5 factors are kept in the model. Can somebody help me with the
solution?
Thank!
Martijn
PS. I also tried other selection levels for the
variables, but no difference (i.e. no selections).
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: MDS on longitudinal data, Bhattacharyya, Arunava, ALABS |
|---|---|
| Next by Date: | Re: Cox + bootstrap, Frank E Harrell Jr |
| Previous by Thread: | detecting repeated values in a vector (summary of solutions), Caitlin Burgess |
| Next by Thread: | Re: Cox + bootstrap, Frank E Harrell Jr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |