Gini index is a measure of inequality and was developed to measure income inequality in labour market. In the predictive model, Gini Index is used for measuring discriminatory power.

blr_gini_index(model, data = NULL)



An object of class glm.


A tibble or data.frame.


Gini index.


Siddiqi N (2006): Credit Risk Scorecards: developing and implementing intelligent credit scoring. New Jersey, Wiley.

Müller M, Rönz B (2000): Credit Scoring using Semiparametric Methods. In: Franke J, Härdle W, Stahl G (Eds.): Measuring Risk in Complex Stochastic Systems. New York, Springer-Verlag.

Kočenda E, Vojtek M (2011): Default Predictors in Retail Credit Scoring: Evidence from Czech Banking Data. Forthcoming in: Emerging Markets Finance and Trade.

See also


model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) blr_gini_index(model)
#> [1] 0.5252134