Learn R Programming

blorr (version 0.1.0)

blr_rsq_cox_snell: Cox Snell R2

Description

Cox Snell pseudo r-squared.

Usage

blr_rsq_cox_snell(model)

Arguments

model

An object of class glm.

Value

Cox Snell pseudo r-squared.

References

Cox, D. R., & Snell, E. J. (1989). The analysis of binary data (2nd ed.). London: Chapman and Hall.

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

See Also

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

Examples

Run this code
# NOT RUN {
model <- glm(honcomp ~ female + read + science, data = hsb2,
            family = binomial(link = 'logit'))

blr_rsq_cox_snell(model)

# }

Run the code above in your browser using DataLab