On Tue, 15 Feb 2005, Jemma Hopewell wrote:
Dear All,
I am trying to estimate the baseline hazard (or cumulative hazard) as part of
a proportional hazards model and am having trouble finding a way of doing so
without writing my own function. Has anyone got any ideas or already written
a function that can manipulate the output from a coxph(Survfit...) function?
It's called survfit (and you can only get cumulative hazards from such a
model: the estimates are piecewise constant). You will find examples in
most books using coxph, notably MASS.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
|