Re: [R] can we include nonparametric component for survival regression?

From: Thomas Lumley <>
Date: Mon, 18 Feb 2008 09:20:48 -0800 (PST)

On Mon, 18 Feb 2008, gallon li wrote:

> i am trying to fit a survival regression model (cox model or parametric
> model) in R by including the covariate effects as a function m(x) instead of
> just beta*x. is it possible to fit such a model? can someone recommend some
> reference? I searched but only found a package called addreg where
> the hazard is actually modeled additively. That is not what i want.

The survival package has pspline() for this purpose (assuming that by 'non-parametric' you mean a flexible smooth curve)


Thomas Lumley			Assoc. Professor, Biostatistics	University of Washington, Seattle

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 18 Feb 2008 - 17:23:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Feb 2008 - 11:30:15 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive