Skip to contents

McKelvey Zavoina pseudo r-squared.

Usage

blr_rsq_mckelvey_zavoina(model)

Arguments

model

An object of class glm.

Value

Cragg-Uhler (Nagelkerke) R2 pseudo r-squared.

References

McKelvey, R. D., & Zavoina, W. (1975). A statistical model for the analysis of ordinal level dependent variables. Journal of Mathematical Sociology, 4, 103-12.

Examples

model <- glm(honcomp ~ female + read + science, data = hsb2,
            family = binomial(link = 'logit'))

blr_rsq_mckelvey_zavoina(model)
#> [1] 0.5177764