# π Kenya Mobile Credit Risk Profiler
> An end-to-end data analytics project segmenting mobile borrower risk profiles among Nairobi residents β combining behavioral finance theory with machine learning.
---
## π Project Context
Kenya's mobile lending market is one of the fastest-growing in Africa β yet **over-indebtedness and default rates** remain high. Most credit risk models used by Kenyan fintechs were trained on Western data and don't reflect local borrower behavior.
This project uses **primary survey data from 286 Nairobi CBD respondents** to build a Kenya-specific mobile credit risk segmentation model, grounded in behavioral finance theory and validated with Stata regression analysis.
**This project is directly connected to my undergraduate research thesis** on consumer perception of mobile loan apps and personal debt management.
---
## π¬ Research Framework
The analysis applies three established theoretical frameworks:
| Framework | Application in This Project |
|-----------|----------------------------|
| **Technology Acceptance Model (TAM)** | Perceived usefulness & ease of use as adoption predictors |
| **Theory of Planned Behavior (TPB)** | Subjective norms and behavioral intention to borrow |
| **Behavioral Finance Theory** | Loss aversion, mental accounting, and debt rationalization |
---
## π Project Structure
```
kenya-credit-risk-profiler/
βββ data/
β βββ raw/ # Original survey data (anonymized)
β βββ processed/ # Cleaned, analysis-ready datasets
β βββ external/ # Supplementary Kenyan fintech data
βββ notebooks/
β βββ 01_data_cleaning.ipynb # Import, clean, validate survey data
β βββ 02_exploratory_analysis.ipynb # EDA β distributions, correlations, viz
β βββ 03_feature_engineering.ipynb # TAM/TPB score construction
β βββ 04_segmentation.ipynb # K-Means borrower clustering
β βββ 05_risk_classification.ipynb # Logistic Regression + Decision Tree
β β¦