Association of predicted probabilities and observed responses.

blr_pairs(model)

Arguments

model

An object of class glm.

Value

A tibble.

References

Nelsen RB (1998): Concordance and Gini’s measure of association. Journal of Nonparametric Statistics, 9(3):227–238.

Newson R (2006): Confidence intervals for rank statistics: Somers' D and extensions. The Stata Journal, 6(3):309–334.

See also

Other model fit statistics: blr_model_fit_stats, blr_multi_model_fit_stats, blr_rsq_adj_count, blr_rsq_cox_snell, blr_rsq_effron, blr_rsq_mcfadden_adj, blr_rsq_mckelvey_zavoina, blr_rsq_nagelkerke, blr_test_lr

Examples

model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) blr_pairs(model)
#> # A tibble: 1 x 8 #> pairs concordance discordance tied somers_d gamma tau c #> <int> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 7791 0.856 0.142 0.00141 0.715 0.714 0.279 0.857