Re: [R] coxph - weights- robust SE

From: Terry Therneau <>
Date: Thu, 08 May 2008 08:10:27 -0500 (CDT)

The formal reference is Binder, D.A. (1992).

    Fitting Cox's proportional hazards models from survey data.      Biometrika {\bf 79}, 139-47.
I am not aware of a systematic study of how well this estimator does, but there could well be papers in the literature.

Let D = matrix of dfbeta residuals = residual(fit, type='dfbeta', weighted=F), one row per observation and one column per variable. Then for a simple weighted model

  var = D' W^2 D   

where W = diagonal matrix of weights. Note that the dfbetas are the derivatives of beta with respect to the weights; if all the weights are doubled the dfbetas go down by half.

        Terry Therneau    mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 08 May 2008 - 13:15:17 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 Thu 08 May 2008 - 13:30:35 GMT.

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

list of date sections of archive