GithubHelp home page GithubHelp logo

hahaiamharry / commercial-real-estate-cre-loan-credit-risk-model Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 40 KB

A project aim to predict default rate of Commercial Real Estate(CRE) Loans

commercial-real-estate credit-risk elastic-net-regression loan-default-prediction multiple-linear-regression

commercial-real-estate-cre-loan-credit-risk-model's Introduction

Commercial-Real-Estate-(CRE)-Loan-Credit-Risk-Model

Background

US CRE mortgage market consists of around $4.5 trillion of loans. The banking industry only hold 45% of the CRE loans. The 25 largest banks by total assets hold 13% of all CRE mortgages, while the 4,600 banks outside the largest 100 hold 15โ€“20% of all CRE mortgages.

Unlike Commercial and Industrial (C&I) loan or retail loan, the borrowers of CRE loan are usually corporate entities that are not rated by any of the big three rating agencies (Standard and Poor's, Fitch, Moody). This make CRE loan usually does not have credit rating or credit score like C&I or retail loan. As there are no credit rating or credit score available, most small bank adopt their own qualitative approaches in evaluating credit risk in CRE loan, which could lead to inaccuracy and inconsistency in credit risk management.

Therefore, it is important to build a scientific and accurate model in predicting credit risk in CRE loan. As there are several CRE Real Estate Investment Trusts(REIT) ETF with credit rating available, there is an opportunity of using the credit rating and financial performance of those ETF to build a model in predicting credit risk in different CRE loans.

Method

Data collection and transformation

This project first acquired financial performance from 2023 Q3 10-Q forms along with the latest credit ratings of the REIT. Then converting the EBITDA, Interest Expenses, Cash, Total Liabilities, Total Equities, Total Assets into Interest Expense Coverage Ratio, Net Debt Leverage Ratio, Total Leverage Ratio, Debt to Equity Ratio, EBITDA Asset Ratio, and EBITDA to Equity Ratio. Next, it will convert the credit rating into 5 year accumulated default rate based on the Default, Transition, and Recovery: 2022 Annual Global Corporate Default And Rating Transition Study by Standard and Poor's.

Model building

A 60-40 train test split will first be applied to the dataset(The number of data sample is not enough to do 70-30 split). In order to capture different types of non-linear relationship between predictors and default rate, the project will first regress the default rate with predictors, squared form of predictors, and logged form of predictors. Then a backward elimination by AIC will be performed to kick out the predictors that are lack of explaining power in the model. Then evaluate the MAE of the model to see how much difference the predicted default rate and the estimated default rate from credit rating is.

If the MAE on the testing dataset is not satisfactory, it could imply an over-fitting occurs due to the large number of predictors. In that case, an elastic net regression will be performed to prevent over-fitting.

Return for R code

Summary of Multiple Regression
image
MAE and RMSE of Multiple Regression

"The MAE for training dataset: 0.00352602822602858"
"The MAE for testing dataset: 0.0969951846377991"
"The RMSE for training dataset: 0.00444128798272727"
"The RMSE for testing dataset: 0.350579093907196"

Coefficient of Elastic Net Regression
image
MAE and RMSE of Elastic Net Regression

"The MAE for training dataset: 0.00566358952474341"
"The MAE for testing dataset: 0.01444799039815"
"The RMSE for training dataset: 0.0076190505684831"
"The RMSE for testing dataset: 0.0302670576314153"

Result and limitation

The result shown a big improvement in MAE from multiple regression(9.70% MAE in default rate) to elastic net regression(1.44% MAE in default rate). However, the current model (1.44% MAE and 3.03% RMSE) is still not perfect enough due to the lack of data sample. Currently, the author does not have Refinitiv or Bloomberg terminal on hand, once those tools are available, the data sample can be enlarged by putting in different years of financial figures and credit rating of the 48 REITs.

Reference

S&P Global Ratings. (2023, April 25). Default, Transition, and Recovery: 2022 Annual Global Corporate Default And Rating Transition Study. S&P Global. Retrieved from https://www.spglobal.com/ratings/en/research/articles/230425-default-transition-and-recovery-2022-annual-global-corporate-default-and-rating-transition-study-12702145
Cohen & Steers. (2023, March). The commercial real estate debt market: Separating fact from fiction. Retrieved from https://www.cohenandsteers.com/insights/the-commercial-real-estate-debt-market-separating-fact-from-fiction

commercial-real-estate-cre-loan-credit-risk-model's People

Contributors

hahaiamharry avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.