Member-only story
PythonCredit RiskData ScienceFinance Let’s Build a Simple PD Model in Python (Step by Step)
Biswarupa Mohapatra
4 min read9 hours ago
Logistic regression on company bankruptcy data, in under 50 lines
Every loan decision starts with one question: how likely is this borrower to default?
That number is called the Probability of Default (PD). PD is the first and the only number that my eyes go to because almost every other decision, from approvals to provisions, is built on it.
In close to 7 years of credit risk modelling, PD is the number I’ve seen discussed most, and understood least. So here is a simple way to see how it is actually built.
In this article, let us build a simple PD model in Python in about 10 minutes and under 50-lines.
PD is the chance a borrower fails to repay. If 100 similar companies borrow and 3 default, the PD is 3%.…