blr_rsq_mcfadden: McFadden's R2

Description Usage Arguments Value References Examples

View source: R/blr-model-fit-stats.R

Description

McFadden's pseudo r-squared for the model.

Usage

1

Arguments

model

An object of class glm.

Value

McFadden's r-squared.

References

https://eml.berkeley.edu/reprints/mcfadden/zarembka.pdf

Examples

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

blr_rsq_mcfadden(model)

blorr documentation built on July 2, 2020, 2:15 a.m.