Skip to main content

Corporate default probability (Logit)

This illustrates Logit for a binary outcome: predicting the probability of default (Y=1Y=1 if default) from financial ratios. Figures are illustrative.

Summary: regress the binary default on leverage, profitability and liquidity; interpret via odds ratios and marginal effects.


Step 1 — Ideation

  • Question: which financial ratios raise default probability, and by how much?

Step 2 — Literature Review

Early-warning credit-risk models (Altman Z-score, hazard models); clarify variables and threshold.

Step 3 — Data Collection

VariableSymbolMeasurementSource
Defaultdefault1 = default, 0 = notlisted-firm statements
LeverageleverageDebt/Total assetsfinancials
ProfitabilityroaNet income/Total assetsfinancials
LiquiditycurrentCurrent assets/Current liab.financials

Step 4 — Modeling

Choose the Limited dependent variable family → Logit:

P(defaulti=1)=11+e(β0+β1leveragei+β2roai+β3currenti)P(default_i = 1) = \frac{1}{1 + e^{-(\beta_0 + \beta_1 leverage_i + \beta_2 roa_i + \beta_3 current_i)}}

Illustrative results (format — not real results):

VariableCoefficientOdds ratioAMEp-value
leverage1.454.260.210.000
roa−3.100.045−0.280.000
current−0.600.55−0.070.012
AUC0.84

Sample interpretation: high leverage raises default odds (OR ≈ 4.3); higher ROA and liquidity reduce risk; AUC 0.84 indicates good classification.

* ===== Logit — Corporate default probability =====
* Estimate the logit model
logit default leverage roa current

* Odds ratios
logit default leverage roa current, or

* Average marginal effects (AME)
margins, dydx(*)

* Classification table
estat classification

* ROC curve and AUC
lroc
lsens

Step 5 — Reporting

Export a report + replication code; include the classification table and ROC curve.

Video tutorial

Video Tutorial: Guide to running Logit for default prediction in EcoLab

See also