An open API service indexing awesome lists of open source software.

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.

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
```