[This article was first published on Rsquared Academy Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. .ba-note{font-size:.88rem;color:#57606a;border-left:3px solid #d0d7de;padding-left:.75rem;margin:.5rem 0 1.25rem}blorr 0.3.2 is on CRAN. blorr provides tools for binary logistic regression in R: model fit statistics, variable selection, bivariate analysis, weight of evidence, and the validation charts used in credit scoring (gains table, ROC curve, KS chart and Lorenz curve), all built around glm() objects.The last blorr post covered 0.2.0 in 2019. Since then there have been four CRAN releases (0.2.1, 0.2.2, 0.3.0 and 0.3.1), and this one changes numbers that may already be in reports:Pseudo-R² values and the Gini index now use the rows the model was actually fitted on, and the Gini index follows the credit-scoring definition .The likelihood ratio test uses the difference in residual degrees of freedom, so factor predictors get the right -value.Gains tables, confusion matrices and segmentation rates were rebuilt around the fitted response.If you report the Gini index, Cox–Snell or Nagelkerke R², or a likelihood ratio test from blorr, read the next three sections before you reuse those numbers. Everyone else can start at What is new since 2019.You can install it from CRAN with:Codeinstall.packages("blorr")You can see a full list of changes in the release notes.These fixes change results. In each case the new value agrees with the definition or with base R, so the new value is the one to report.How we checked: Every number in this post was re-run against blorr 0.3.2 from CRAN; the release passed independent audits before submission.Do the pseudo-R² values use the rows the model fitted?Cox–Snell and Nagelkerke R² are functions of the fitted and intercept-only log-likelihoods and of the number of observations. If the data contain missing values, that number is the rows the model used, not the rows in the data frame.bank_marketing records bank term-deposit marketing outcomes. It has no missing values, so we blank out 300 balances to mimic incomplete records:Codebank_incomplete