Description Usage Arguments Value Examples
Convert results of logistic regression from glm() in 'stats' package to lrm() in 'rms' package.
1 | logit2lrm(fit)
|
fit |
logistic regression reults of glm() |
results of lrm()
1 2 |
Logistic Regression Model
lrm(formula = vs ~ mpg + cyl, data = mtcars, model = TRUE, x = TRUE,
y = TRUE)
Model Likelihood Discrimination Rank Discrim.
Ratio Test Indexes Indexes
Obs 32 LR chi2 26.37 R2 0.752 C 0.952
0 18 d.f. 2 g 3.468 Dxy 0.905
1 14 Pr(> chi2) <0.0001 gr 32.067 gamma 0.905
max |deriv| 4e-08 gp 0.456 tau-a 0.460
Brier 0.081
Coef S.E. Wald Z Pr(>|Z|)
Intercept 15.9714 11.0225 1.45 0.1473
mpg -0.1633 0.2399 -0.68 0.4961
cyl -2.1482 1.0811 -1.99 0.0469
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.