Credit Risk Modeling

1 minute read

GitHub Project

Credit Risk is the default risk that a person who borrowed money either from an individual or in the form of government bond is not going to repay the loan. In other words, Credit Risk is the likelihood that a borrower would not repay their loan to the lender.

There are three types of losses a financial institute can incur:

1. Expected Loss (EL) is the amount a bank can expect to lose, on average, over a predetermined period when extending credits to its customers.
2. Unexpected Loss (UL) occurs in adverse economic circumstances. It is the volatility of credit losses around its expected loss. Once a bank determines its expected loss, it sets aside credit reserves in preparation for unexpected losses.
3. Exceptional Stress Loss – Highly unlikely losses result due to the severe economic downturn such as at the time for financial crisis of 2008.

In this project I have focused on modelling Expected Loss.

Three components are there in Expected Loss:

1. Probability of Default (PD) – Likelihood that someone will default on a loan.
2. Exposure at default (EAD) - Amount outstanding to be paid.
3. Loss given default (LGD) - Exposure at Default / Recovery from Loss if you sell the bond.

Expected loss = PD x EAD x LGD

Data Source

Consists of complete loan data for all loans issued through the 2007-2015, including the current loan status (Current, Late, Fully Paid, etc.) and latest payment information in USA.

Notebooks

The process of modelling expected loss is divided into modelling each of the PD, LGD and EAD components separately. The three main steps for modelling each component are :
1. Data preparation or pre-processing
2. Model Training and Testing
2. Out of Sample Validation and Total Expected Loss
**Note : Click on each notebook to understand the models and the final scorecard at the end of this journey **

Output

Given the funded amount our model predicts expected loss for each of the loan.

alt alt