Message-ID: <Pine.A41.4.44.0208020723460.115544-100000@homer41.u.washington.edu>
Date: 2002-08-02T14:26:24Z
From: Thomas Lumley
Subject: Cox regression
In-Reply-To: <Pine.SOL.4.30.0208021256050.11571-100000@mathsun3.math.chalmers.se>
On Fri, 2 Aug 2002, Dragi Anevski wrote:
> Hi!
> I would like to do Cox regression using the available routines in
> the survival package BUT I want to use an arbitrary link function, i.e.
> want to use the model
>
> h(t)=h_0(t)r(beta'z)
>
> with arbitrary function r, instead of
>
> h(t)=h_0(t)exp(beta'z)
>
> Grateful for any comment on this,
You're out of luck -- the survival package won't be any help with this.
The easiest solution would probably be to work out the partial
likelihood and its first derivative and use optim() to maximise it.
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._