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 tri
On Aug 11, 2010, at 6:56 AM, 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
?coef
Try instead:
coef(fit.glm)
?vcov
The accessor function for the covariance matrix i
well, you can directly use the coef() and vcov() generics, e.g.,
library(rms)
y <- rbinom(100, 1, 0.5)
x <- runif(100, -3, 3)
Fit <- lrm(y ~ x)
Fit
coef(Fit)
sqrt(diag(vcov(Fit)))
I hope it helps.
Best,
Dimitris
On 8/11/2010 12:56 PM, david dav wrote:
Hi,
I would like to extract the coeffi
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
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
4 matches
Mail list logo