Re: [R] covariance matrix under null

From: Thomas Lumley <>
Date: Sat 27 Aug 2005 - 00:14:17 EST

On Thu, 25 Aug 2005, Devarajan, Karthik wrote:

> Hello
> I am fitting a Cox PH model using the function coxph(). Does anyone know how
> to obtain the estimate of the covariance matrix under the null hypothesis.
> The function coxph.detail() does not seem to be useful for this purpose.

You can evaluate the second derivative of the partial loglikelihood at any specified beta with

   vcov(coxph(formula, data,iter=0, start, init=beta)

eg if you want to get score tests.

         -thomas mailing list PLEASE do read the posting guide! Received on Sat Aug 27 00:18:49 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:58:46 EST