Logistic Regression for Credit Risk: From Log-Odds to a Production Scorecard

Entimema
Editorial artwork for Logistic Regression for Credit Risk showing multiple evidence planes converging into a continuous risk surface and ordered score markers.
Contents

Logistic regression remains powerful in credit risk not because it is mathematically sophisticated, but because it creates a disciplined bridge between borrower characteristics, odds of default, explainable ranking and production decisions.

Coefficients describe conditional odds—not percentage-point probability changes

βj is the change in log default odds for a one-unit increase in Xj, holding other model variables constant. Exponentiating gives the odds ratio:

ORj = eβj;   βj=0.30 ⇒ OR≈1.35
Odds ratio

The example means approximately 35% higher default odds per unit under the specified scale and model—not a 35% increase in PD. The probability effect depends on the borrower's starting risk and all other contributions.

WoE sign conventions must agree with the target

logit(PDi) = β0 + ΣjβjWoEij
Traditional WoE logistic specification

Under WoE=ln(DistGood/DistBad), higher WoE indicates better relative credit quality. With Y=1=Bad, a standalone coefficient should generally be negative: increasing “good” evidence should lower bad log-odds. Multivariate correlation can complicate signs, so investigate rather than mechanically constrain them. Reversing the target, reversing WoE or reversing only the interpretation creates a production error.

Weight of Evidence & Information Value develops binning, stability and univariate evidence. WoE controls raw non-linearity and extremes; it does not validate the multivariate specification.

A single WoE predictor makes every transformation visible

logit(PD) = −2.80 − 0.75 × WoEDTI
Illustrative DTI model
Original single-variable transformations
DTI WoELog-odds zBad oddsPD
1.20 — stronger quality−3.7000.02472.41%
0.00 — neutral−2.8000.06085.73%
−1.00 — weaker quality−2.0500.128711.41%

A positive +0.75 coefficient under this target and WoE convention would predict higher bad odds for better-quality bins. That is not impossible in a correlated model, but it is a sign anomaly demanding investigation.

A four-variable model decomposes borrower risk

z = −3.20 − 0.65WoEDTI − 0.55WoEUtil − 0.80WoEHistory − 0.35WoETenure
Original multivariate model

For any borrower, ContributionijjXij and zi0+ΣContributionij. That additive audit trail becomes points, diagnostics and candidate reason-code evidence.

Maximum likelihood estimates probabilities—not accuracy at an arbitrary threshold

P(Yi=yi) = PDiyi(1−PDi)1−yi
Borrower likelihood
ℓ(β) = Σi[yiln(PDi) + (1−yi)ln(1−PDi)]
Log-likelihood

Estimation chooses coefficients that make the observed pattern of Goods and Bads most probable under the assumed functional form. It does not maximise classification accuracy. Credit risk normally needs ranking, probability estimation and strategy simulation—not one binary classification threshold.

Rare defaults expose the weakness of accuracy

At a 2% bad rate, predicting Good for every account achieves 98% accuracy and zero useful discrimination. AUC/Gini, KS, calibration and proper scoring rules address more relevant properties.

Oversampling changes the probability level

Psample(Y=1) ≠ Ppopulation(Y=1)
Case-control sampling

Bad oversampling can support coefficient estimation and ranking, but raw model probabilities reflect altered prevalence. Use a documented intercept correction or recalibration to the intended population; do not report development-sample PDs as production probabilities.

Apparent simplicity can conceal specification failure

A raw continuous X assumes a linear effect on log-odds unless transformed. Binning/WoE, splines, polynomial terms and domain transformations can represent non-linearity. Interactions such as Utilisation × Tenure may capture genuine conditional risk, but an interaction zoo built to optimise in-sample metrics weakens stability and explainability.

Core coefficient diagnostics
IssueObserved symptomPractitioner response
MulticollinearitySign reversal, large standard errors, unstable coefficientsCorrelation, VIF where useful, variable families and resampling stability
Complete / quasi separationPerfect or near-perfect class separation; |β| grows without boundInvestigate tiny groups, leakage, merging, penalisation or variable removal
Weak temporal stabilityβ<sub>j,dev</sub> and β<sub>j,oot</sub> change sign or magnitudeRevisit bins, population, interactions and structural change
P-value selectionSample-specific significance drives the specificationCombine incrementality, stability, economics, governance and availability
Δβj = βj,oot − βj,dev
Conceptual coefficient drift

A model can rank well while individual coefficients are unstable and explanations are economically incoherent. Random development/validation splitting tests sample generalisation; out-of-time evidence challenges temporal robustness.

Regularisation and ML belong in the challenger set

Ridge: λΣβj2    Lasso: λΣ|βj|
Ridge and Lasso penalties

Shrinkage can control correlated predictors and overfitting, but changes coefficient and selection interpretation. Machine learning can add nonlinear and interaction power. Compare all challengers through incremental decision value, stability, explainability, operational cost and governance—not novelty.

Ranking and calibration answer different model-risk questions

Separate validation dimensions
DimensionQuestionEvidence
RankingWho is relatively riskier?ROC, AUC, Gini, KS and segment ordering
CalibrationWhat absolute risk does the rank represent?Observed/predicted rates, intercept, slope and curves
Gini = 2AUC − 1
Gini

A logistic model can discriminate well and still be badly calibrated. If predicted PD is 5% for a coherent group, approximately 5% should realise the governed default event over the matching horizon under the intended interpretation. PD Ranking & Calibration develops these cases in depth.

BS = (1/N)Σi(PDi−Yi)2
Brier score
LogLoss = −(1/N)Σi[Yiln(PDi)+(1−Yi)ln(1−PDi)]
Log loss

Brier score evaluates probabilistic error while combining discrimination and calibration characteristics. Log loss penalises confident wrong predictions heavily. Neither is a universal decision rule; interpret them with ranking, calibration, stability and portfolio use.

ENTIMEMA FRAMEWORKDevelopment → Validation → Out-of-TimeRandom holdout tests repeatability; OOT evidence asks whether the model travels forward.
  1. Development specification
  2. Validation challenge
  3. Untouched OOT period
  4. Ranking
  5. Calibration
  6. Stability
  7. Use conclusion

Score scaling turns odds into a controlled operating language

Using Good:Bad odds so higher score means lower risk:

Score = Offset + Factor × ln(Oddsgood:bad)
Good:Bad score scale

For base score 600, base Good:Bad odds 20:1 and 50 Points to Double the Odds:

Factor = 50/ln(2) = 72.135
Offset = 600 − 72.135ln(20) = 383.904
Scale constants
PDO arithmetic verification
ScoreGood:Bad oddsMeaning
60020:1Base
65040:1Odds double
70080:1Odds double again

Because log Good:Bad odds = −log Bad:Good odds = −z, the equivalent model mapping is Score=Offset−Factor×z.

Pointsjk = −Factor × βjWoEjk
Variable points under this convention

The intercept becomes base points: Offset−Factor×β0. It can be held once or distributed across variables, but development and production must use identical architecture. A score is a monotonic transformation of odds, not PD without its scale and calibration mapping.

Recover PD from a score

ln(Oddsgood:bad) = (S−Offset)/Factor
PD = 1/(1+Oddsgood:bad)
Score to PD under Good:Bad convention

At S=600, odds are exp((600−383.904)/72.135)=20, so PD=1/(1+20)=4.76%.

An original end-to-end borrower from raw data to production score

Consider a fictional scorecard developed on 200,000 consumer-loan applications. One applicant maps to these governed bins and Good/Bad WoE values:

Borrower data, transformations, coefficients and contributions
VariableRaw value / binWoEββ×WoEScore points
DTI58% / 50–65%−0.734−0.65+0.477−34.4
Utilisation82% / 75–90%−0.400−0.55+0.220−15.9
Bureau historyRecent serious delinquency−0.900−0.80+0.720−51.9
Relationship tenure4+ years+0.300−0.35−0.105+7.6
z = −3.200 + 0.477 + 0.220 + 0.720 − 0.105 = −1.888
PD = 1/(1+e1.888) = 13.15%
Linear predictor and PD
Good:Bad odds = (1−0.1315)/0.1315 = 6.60:1
Score = 383.904 + 72.135ln(6.60) ≈ 520
Odds and scaled score

Base points are 383.904−72.135(−3.20)=614.736. Adding the rounded variable points gives approximately 520. Rounding explains small display differences; the governed engine should calculate with full precision and round only at the specified stage.

This chain—Borrower data → Bin → WoE → Contribution → Logit → PD → Odds → Score—makes statistical and operational reconciliation possible. Largest adverse contributions can inform explanations, but a mathematical contribution is not automatically a legally valid customer-facing reason code.

The logistic model produces risk information, not the lending decision

Logistic modelScoreCalibrationEconomicsCut-offDecision
Calibration and economics stand between statistical ranking and an accountable decision.

Credit Cut-Off Strategy connects PD and score to expected loss, revenue, affordability, policy, risk appetite and marginal economics. The same score can support different actions under different products or constraints.

A model fitted only on historical accepts estimates relationships within a selected population. If policy expands beyond that region, Reject Inference explains the overlap and identifiability problem. Logistic regression does not remove selection bias.

Production replication is part of model validity

Implementation checklist
LayerRequired reconciliation
InputsSource, timing, units, currency, percentage/decimal convention
TransformationMissing rules, exact boundary inclusivity, category mapping and unseen-value fallback
ModelWoE version, coefficients, intercept and target convention
ScalingOdds convention, Factor, Offset, base points and rounding stage
OutputTotal score, PD mapping, reason-code inputs and version lineage
Scoredevelopment = Scoreproduction within documented tolerance
Implementation parity

Annual versus monthly income, percentage versus decimal, or one currency versus another can destroy model meaning without any software exception. New categorical values need a governed Other bucket, fallback or model exception—never arbitrary WoE.

Rounding each variable's points can differ from rounding only the final total, especially at a cut-off. Test boundary records, missing values, unseen categories and exact bin edges at contribution, PD and score level.

Monitor who arrives and whether risk relationships still hold

Population drift: Pt(X) changes
Relationship drift: Pt(Y|X) changes
Two forms of drift

Track score and input distributions, bin populations, missing rates, discrimination, calibration, realised bad rates, approval rates and overrides. A stable applicant population does not guarantee stable coefficients or PD relationships. PD Model Monitoring connects these signals to investigation and action.

If ranking remains useful while risk level moves, recalibration may suffice. If coefficients, variable relationships or ordering materially deteriorate, re-estimation or broader redevelopment is required. Mathematical transparency does not protect an obsolete model.

Logistic scorecards remain practical for high-volume non-bank lending

Consumer finance, fintech, digital instalments and short-tenor portfolios often need lightweight deployment, high-volume decisions and explainable logic with limited modelling resources. Logistic models provide a compact deterministic path from features to score.

Rapid population drift, strategy changes, thin history and higher-risk mix increase the need for OOT testing, frequent calibration review, vintage analysis and transformation monitoring. Fast outcomes shorten feedback; they do not remove target, sample or selection risk.

Twenty failure modes between equation and decision

Logistic scorecard failure mechanisms
Failure modeWhy it fails
Black-box classifier treatmentContributions, probability meaning and use disappear
Accuracy optimisedClass imbalance rewards useless all-Good predictions
Odds confused with probabilityRisk changes are misinterpreted
Good:Bad / Bad:Good mixedScore direction and PD mapping reverse
WoE sign reversedCoefficient meaning and points invert
LeakageFuture information inflates performance
Raw non-linearity ignoredLog-odds specification is wrong
MulticollinearityCoefficients and explanations destabilise
Separation ignoredSparse or leaked predictors drive extreme β
Oversampling uncorrectedRaw PD reflects sample prevalence
P-values select variablesStability and economic meaning are omitted
Gini without calibrationRanking is mistaken for probability
No OOT challengeTemporal robustness remains unknown
Scaling arithmetic wrongOperational score no longer represents model odds
Rounding mismatchBoundary decisions differ across implementations
Production bins differA different effective model is deployed
Unit conversion errorInputs move onto an alien scale
Unseen category improvisedArbitrary risk evidence enters production
Score treated as decisionEconomics, policy and appetite vanish
Logistic assumed explainableHundreds of obscure features remain operationally opaque

A Credit Scorecard Development Agent can automate evidence work—not borrower decisions

A future agent could fit candidate logistic models, test coefficient stability, flag sign anomalies, diagnose multicollinearity and separation, compare regularised challengers, calculate discrimination, perform OOT validation, generate score scaling, reconcile score-to-PD mapping, test implementation parity and prepare development evidence.

Its role is model-development automation + diagnostics + validation support. It must not autonomously approve or reject borrowers. Human owners govern model purpose, lawful variables, target meaning, risk appetite and adverse decisions.

The broader Credit Scorecard Development pillar connects this estimator to population, target, binning, scaling, calibration, strategy and monitoring. Entimema's Credit Risk practice supports that lifecycle; Decision Automation turns approved model and policy logic into controlled execution.

ENTIMEMA FRAMEWORKPractitioner decision frameworkThe logistic equation sits inside a governed lifecycle.
  1. Estimate
  2. Interpret
  3. Validate
  4. Scale
  5. Calibrate
  6. Decide
  7. Monitor