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

blr_rsq_nagelkerke(model)

Arguments

model

An object of class glm.

Value

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

References

Cragg, S. G., & Uhler, R. (1970). The demand for automobiles. Canadian Journal of Economics, 3, 386-406.

Maddala, G. S. (1983). Limited dependent and qualitative variables in economics. New York: Cambridge Press.

Nagelkerke, N. (1991). A note on a general definition of the coefficient of determination.

See also

Examples

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

blr_rsq_nagelkerke(model)
#> [1] 0.4362587