[R] extracting the standard error in lrm

Frank Harrell f.harrell at vanderbilt.edu
Wed Aug 11 14:48:52 CEST 2010




On Wed, 11 Aug 2010, david dav wrote:

> Hi,
> I would like to extract the coefficients of a logistic regression
> (estimates and standard error as well) in lrm as in glm with
>
> summary(fit.glm)$coef
>
> Thanks
> David

coef(fit)
sqrt(diag(vcov(fit)))

But these will not be very helpful except in the trivial case where 
everything is linear, nothing interacts, and factors have two levels.

Frank



More information about the R-help mailing list