View source: R/blr-hosmer-lemeshow-test.R
blr_test_hosmer_lemeshow | R Documentation |
Hosmer lemeshow goodness of fit test.
blr_test_hosmer_lemeshow(model, data = NULL)
model |
An object of class |
data |
a |
Hosmer, D.W., Jr., & Lemeshow, S. (2000), Applied logistic regression(2nd ed.). New York: John Wiley & Sons.
Other model validation techniques:
blr_confusion_matrix()
,
blr_decile_capture_rate()
,
blr_decile_lift_chart()
,
blr_gains_table()
,
blr_gini_index()
,
blr_ks_chart()
,
blr_lorenz_curve()
,
blr_roc_curve()
model <- glm(honcomp ~ female + read + science, data = hsb2,
family = binomial(link = 'logit'))
blr_test_hosmer_lemeshow(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.