full_model: An object of class glm; model with all predictors.
reduced_model: An object of class glm; nested model. Optional if you are comparing the full_model with an intercept only model.
Returns
Two tibbles with model information and test results.
Examples
# compare full model with intercept only model# full modelmodel_1 <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link ='logit'))blr_test_lr(model_1)# compare full model with nested model# nested modelmodel_2 <- glm(honcomp ~ female + read, data = hsb2, family = binomial(link ='logit'))blr_test_lr(model_1, model_2)
See Also
Other model fit statistics: blr_model_fit_stats(), blr_multi_model_fit_stats(), blr_pairs(), blr_rsq_adj_count(), blr_rsq_cox_snell(), blr_rsq_effron(), blr_rsq_mcfadden_adj(), blr_rsq_mckelvey_zavoina(), blr_rsq_nagelkerke()