[R] Baseline survival estimate

2009-12-16 Thread Laura Bonnett
Dear R-help, I am trying to obtain the baseline survival estimate of a fitted Cox model (S_0 (t)). I know that previous posts have said use 'basehaz' but this gives the baseline hazard function and not the baseline survival estimate. Is there a way to obtain the baseline survival estimate or do

Re: [R] Baseline survival estimate

2009-12-16 Thread tlumley
survival = exp(-hazard) -thomas On Wed, 16 Dec 2009, Laura Bonnett wrote: Dear R-help, I am trying to obtain the baseline survival estimate of a fitted Cox model (S_0 (t)). I know that previous posts have said use 'basehaz' but this gives the baseline hazard function and not the

Re: [R] Baseline survival estimate

2009-12-16 Thread Marc Schwartz
I might just extend Thomas' succinct reply with a pointer to ? survfit.coxph in the 'survival' package, which will provide the baseline survival estimates at the mean values of the covariates from the Cox model. It also has nice summary and plot methods and allows for estimating predicted