Skip to content

Variance estimates for survreg vs. lm

1 message · Terry Therneau

#
The difference is that survreg is using a maximum likelihood estimate (MLE) of the 
variance and that lm is using the unbiased (MVUE) estimate of variance.  For simple linear 
regression, the former divides by "n" and the latter by "n-p".  The difference in your 
variances is exactly n/(n-p) = 10/8.

With censored data the MLE estimate is still clear, but what exactly "n" is is not so 
obvious (does a censored datum count as a whole observation?), so a simple (n-p)/n 
variance correction is also not obvious.  I would not be surprised if someone, somewhere 
has hammered out a correction for "unbiased" variance; I've never looked for it.  I'm not 
convinced that it is worthwhile though.

Terry Therneau
On 07/04/2015 05:00 AM, r-help-request at r-project.org wrote: