https://github.com/aishwaryagade02/loan-funnel-optimization-analysis
Tracks how loan applications move through each stage, helps spot where people drop off, and gives clear insights to improve approval strategies and overall performance.
https://github.com/aishwaryagade02/loan-funnel-optimization-analysis
ab-testing data-analysis data-creation hypothesis-testing python reporting sql statistical-methods streamlit
Last synced: about 1 month ago
JSON representation
Tracks how loan applications move through each stage, helps spot where people drop off, and gives clear insights to improve approval strategies and overall performance.
- Host: GitHub
- URL: https://github.com/aishwaryagade02/loan-funnel-optimization-analysis
- Owner: AishwaryaGade02
- Created: 2025-04-29T16:53:01.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-06T19:57:09.000Z (about 1 year ago)
- Last Synced: 2025-05-07T18:13:23.922Z (about 1 year ago)
- Topics: ab-testing, data-analysis, data-creation, hypothesis-testing, python, reporting, sql, statistical-methods, streamlit
- Language: Python
- Homepage:
- Size: 1.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Loan Funnel Analysis
This is a full end-to-end data analytics project simulating a **loan application funnel** at a fintech or lending company. It includes:
โ
Funnel performance monitoring
โ
Automated KPI reporting and alerting
โ
Advanced data insights and cohort analysis
โ
A/B testing to evaluate underwriting strategy changes
โ
A deployed interactive dashboard (via Streamlit)
---
## ๐ Project Overview
### ๐ฏ Objective
To simulate, analyze, and optimize the loan funnel journey โ from application to funding โ and identify areas of improvement using metrics, insights, and A/B experimentation.
---
## ๐ฆ Features
| Category | Description |
|:--|:--|
| ๐ **Synthetic Data Generation** | Realistic data for 10,000 applicants with credit score, income, loan amounts, funnel stages, approval, and default outcomes |
| ๐ **Funnel Analysis** | Stage-wise conversion rates, approval and funding rates, weekly application trends |
| ๐ **Advanced Insights** | Analyze how age, income, and credit score influence approvals. Cohort analysis by credit bands and income brackets |
| ๐งช **A/B Testing** | Compare approval and default rates for different underwriting strategies. Perform Z-tests for statistical significance |
| ๐จ **Automated Reporting** | Scheduled KPI monitoring and alerting if metrics fall below defined thresholds |
| ๐ **Interactive Dashboard** | Deployed with Streamlit to visualize KPIs, test results, cohort breakdowns, and alerts |
---
## ๐งฐ Tools & Technologies
- **Python**, **Pandas**, **SQLite**
- **Faker** for synthetic data generation
- **Statsmodels** for A/B testing (Z-test for proportions)
- **Streamlit** for dashboard deployment
- **SQL** for query-based analysis (via SQLite)
---
---
## โ
How to Run Locally
1. Clone the repo
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Generate data and SQLite DB:
```bash
python src/generate_data.py
```
4. Launch the dashboard:
```bash
streamlit run dashboard/app.py
```