https://github.com/wtmcgrew/sql-credit-risk-analysis
Credit Risk Analysis using SQL & Excel โ Approval trends by FICO, DTI, PTI, LTV, and delinquencies.
https://github.com/wtmcgrew/sql-credit-risk-analysis
case-study credit-risk data-analysis financial-analysis loan-applications portfolio-project sql sqlite underwriting
Last synced: 3 months ago
JSON representation
Credit Risk Analysis using SQL & Excel โ Approval trends by FICO, DTI, PTI, LTV, and delinquencies.
- Host: GitHub
- URL: https://github.com/wtmcgrew/sql-credit-risk-analysis
- Owner: wtmcgrew
- License: mit
- Created: 2025-03-31T18:15:05.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-01T00:39:04.000Z (7 months ago)
- Last Synced: 2025-04-01T01:31:45.265Z (7 months ago)
- Topics: case-study, credit-risk, data-analysis, financial-analysis, loan-applications, portfolio-project, sql, sqlite, underwriting
- Homepage:
- Size: 509 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Credit Approval Risk Analysis Using SQL
## ๐ Project Overview
This project analyzes mock auto loan application data to explore how key credit risk factorsโFICO score, PTI, DTI, LTV, and late paymentsโinfluence loan approval decisions. The goal is to simulate real-world underwriting logic using SQL and Excel to surface trends and risk signals.## ๐ฏ Objective
To identify common traits of approved vs. declined applicants using SQL queries and data visualization, and to create a clean, portfolio-ready case study demonstrating credit risk analysis skills.## ๐งฐ Tools Used
- SQL (SQLite via DBeaver)
- Microsoft Excel (data analysis + visuals)
- GitHub (project documentation)## ๐ Folder Structure
```
Auto Loan Risk Analysis/
โโโ data/ # CSV + Excel files
โโโ queries/ # Individual exploratory SQL files
โโโ visuals/ # Final PNG screenshots of charts + tables
โโโ sql_credit_risk_project.sql # Master SQL script
โโโ README.md # This file
```## ๐ Key Business Questions
1. What is the approval rate by FICO band?
2. Are applicants with high PTI and/or DTI more likely to be declined?
3. How does LTV affect approval outcomes?
4. Do late payments within the last 12 months impact approval rates?
5. Whatโs the profile of a 'safe' applicant based on common approval traits?## ๐ Summary of Insights
- **DTI (%)** showed the strongest correlation with loan decline decisions (13% avg gap).
- **PTI (%)** didnโt show as strong a trend, indicating higher tolerance for monthly payment size.
- **LTV (%)** mattered more at extreme levels (e.g. >130%).
- Even **1โ2 late payments** significantly impacted approval odds.
- Approved applicants averaged **higher FICO**, **lower DTI**, and **cleaner credit history**.## ๐ Visuals
All charts and tables were created in Excel and exported to PNG format. You can find them in the `/visuals/` folder:
- Approval Rate by FICO Band
- Decline Rate by PTI and DTI Bands
- Decline Rate by LTV Band
- Decline Rate by Recent Late Payments
- Side-by-side Profile Comparison (Approved vs. Declined)## โ How to Reproduce
1. Open `sql_credit_risk_project.sql` in any SQL editor (e.g., DBeaver)
2. Run each query to explore the data
3. Open Excel files in `/data/` to view or recreate the charts## ๐ผ Author
Whitney McGrew โ Senior Credit Analyst | SQL Enthusiast | Credit Risk ProfessionalConnect with me on [LinkedIn](https://www.linkedin.com/in/whitneymcgrew/)