Skip to content

Repository files navigation

Inclusive Credit Risk Analytics Bolivia

Branch-level credit portfolio analytics for monitoring growth, financial inclusion, risk, forecasting and stress scenarios in Bolivia through a reproducible decision-support workflow.

Executive dashboard overview

Website Live Dashboard Executive Summary Recruiter Guide KPI Dictionary Variable Catalog Data Quality Data Model Power BI Model DAX Catalog Dashboard Build Guide Flagship Documentation SQL Technical Report Reproduce Repository Back to Portfolio

Executive KPIs

KPI Value
Observed period 2012-03-01 to 2014-07-01
Global active portfolio 69,850.2 kBOB
Global clients reached 3,827
Final delinquency rate 0.18%
Territorial client balance 98.6%
Responsible inclusion score 98.2 / 100

Five main findings

  1. The global active portfolio increased from 109.8 kBOB to 69,850.2 kBOB during the observed period.
  2. Client outreach expanded from 18 to 3,827 clients while branch coverage became more territorially balanced.
  3. Final observed delinquency remained below 1%, preserving the responsible-growth interpretation.
  4. ARIMA is the best global forecasting model by holdout RMSE among the existing model outputs.
  5. Stress scenarios show the monitoring value of combining portfolio growth, delinquency and inclusion signals.

Tools used

R, readxl, dplyr, tidyr, lubridate, ggplot2, scales, forecast, GitHub Pages, Markdown, DuckDB-compatible SQL and Power BI-ready documentation.

Portfolio classification

Dimension Classification
Primary Lab Development Analytics Lab
Secondary Labs Applied Economics Lab; Research Methods Lab; Business Intelligence Lab; Data Science Lab; Open Science Lab
Research domain Financial inclusion, credit-risk analytics, branch-level development finance and portfolio monitoring
Research question How can branch-level credit portfolio data be used to evaluate responsible financial inclusion, local development potential and inequality in access to formal credit?
Methods Portfolio forecasting, stress testing, KPI design, territorial balance metrics, development interpretation and privacy-aware reporting
Tools R, Quarto, GitHub Pages, reproducible pipeline, public dashboard and technical reports
Scientific status Advanced applied research project; dashboard project; technical report; reproducible analytical pipeline
Portfolio role Demonstrates responsible financial-inclusion analytics, territorial balance, credit-risk monitoring, forecasting, stress testing and reproducible decision-support tools using branch-level data from Bolivia.

Executive summary

This project transforms operational credit portfolio records into a structured analytical framework for understanding portfolio dynamics, financial inclusion patterns, territorial distribution, credit risk and portfolio sustainability.

Starting from heterogeneous Excel workbooks, the workflow builds a reproducible R-based pipeline that consolidates branch-level information into clean analytical datasets, generates performance indicators, validates forecasting models, evaluates risk scenarios and produces interactive visualizations and technical outputs for transparent analysis.

The analytical perspective focuses on responsible financial inclusion, territorial access to credit and the distribution of financial services across branches. Portfolio growth is examined alongside outreach, concentration patterns, credit depth and portfolio quality indicators, providing a multidimensional view of credit expansion and financial access. The analysis explicitly distinguishes observed evidence from broader socioeconomic outcomes, ensuring that interpretations remain consistent with the information available in the underlying data.

Research question

How can branch-level credit portfolio data be used to evaluate responsible financial inclusion, local development potential and inequality in access to formal credit?

Why this matters

The project connects data analytics with poverty, inequality and economic development. It treats credit access as a measurable financial inclusion channel: more clients, sustainable portfolio growth, balanced territorial access and controlled mora can support local economic activity. The analysis is explicit that these are development proxies, not causal proof of poverty reduction.

Key results

  • Observed period: 2012-03-01 to 2014-07-01.
  • Global portfolio: 109.8 to 69,850.2 thousand BOB.
  • Global clients: 18 to 3,827.
  • Maximum observed global mora: 0.25%.
  • Territorial client balance score improved from 0% to 99%.
  • Responsible inclusion score, global final month: 98.2/100.
  • Best global forecasting model by holdout error: ARIMA.

Dashboard

The public dashboard is live through GitHub Pages: Inclusive Credit Risk Analytics Bolivia.

It provides project overview material, research-note outputs, technical-report content and dashboard-ready figures built from the reproducible analytical workflow.

Selected figures

The README shows eight dashboard-ready figures, all reused from existing outputs. Public figures are aggregate or branch-level only.

1. Total portfolio evolution

Portfolio expansion

Period: 2012-03 to 2014-07. Unit: thousand BOB. Source: processed branch-level portfolio panel. Note: observed values and workbook projection are interpreted as monitoring evidence, not causal welfare effects.

2. Client growth

Client growth and credit depth

Period: 2012-03 to 2014-07. Unit: clients and average balance. Source: processed inclusion metrics. Note: client expansion is a financial-inclusion proxy.

3. Portfolio and financial inclusion

Responsible inclusion score

Period: 2012-03 to 2014-07. Unit: score from 0 to 100. Source: processed inclusion metrics. Note: the score combines outreach, portfolio depth and risk penalty.

4. Branch comparison

Territorial balance

Period: 2012-03 to 2014-07. Unit: balance score. Source: branch share outputs. Note: branch balance is used as an access-equity proxy.

5. Delinquency evolution

Mora risk monitor

Period: 2012-03 to 2014-07. Unit: delinquency rate. Source: processed risk panel. Note: risk is monitored at branch and global level.

6. Growth-risk positioning

Risk growth positioning

Period: observed branch panel. Unit: growth and delinquency metrics. Source: risk-return matrix. Note: positioning supports monitoring, not lending recommendations.

7. Observed versus projected forecast

Observed versus projected forecast

Period: observed panel and forecast horizon. Unit: thousand BOB. Source: existing forecast outputs. Note: forecasts are decision-support scenarios, not guarantees.

8. Stress scenarios

Stress test scenarios

Period: 12-month stress horizon. Unit: thousand BOB and risk flags. Source: existing stress-test output. Note: scenarios evaluate resilience under assumptions already documented in the repository.

See Executive tables for the four dashboard-ready tables.

Methodology

  1. Ingest Excel workbooks with readxl.
  2. Convert branch sheets into a tidy monthly panel.
  3. Separate observed records from business projection sheets.
  4. Generate financial inclusion indicators: clients, average balance, disbursement per client and clients per million BOB.
  5. Estimate territorial balance between 16 de Julio and Ceja using HHI-based concentration metrics.
  6. Validate portfolio forecasts using Naive, ETS and ARIMA holdout backtests.
  7. Compare statistical forecasts against workbook business projections.
  8. Build stress-test scenarios for risk governance.
  9. Interpret results with a development economics lens and privacy safeguards.

Detailed documentation: methodology, data dictionary, development lens and research extension plan.

Documentation

Repository structure

data/raw/                 Local raw Excel workbooks, ignored by Git except README and .gitkeep
data/processed/           Tidy panels generated by the R pipeline
docs/                     GitHub Pages dashboard, public HTML reports and methodology
docs/figures/             Dashboard-ready visual outputs
outputs/figures/          Charts generated from the analysis
outputs/tables/           KPI, model, and quality-control tables
outputs/reports/          Executive and technical reports
reports/                  Research note, technical report, references and checklist
scripts/01_run_analysis.R Main reproducible pipeline

Reproduce

source('scripts/01_run_analysis.R')

Required R packages: readxl, dplyr, tidyr, lubridate, ggplot2, scales and forecast.

Limitations

The project evaluates portfolio and inclusion indicators from branch-level operational data. It does not estimate causal poverty reduction, household welfare effects or firm-level productivity impacts. Forecasting outputs support monitoring and scenario analysis; they are not guarantees of future portfolio performance.

Ethical note

Raw Excel workbooks are not tracked publicly. Public outputs exclude personal names and use branch-level or aggregate indicators only. The privacy safeguards in PRIVACY.md and data/raw/README.md remain part of the public interpretation of this project.

Development sources

Citation

Citation metadata are available in CITATION.cff.

Author

Monica Cueto Tapia

Applied Economist | Research Scientist | Development Analytics | Public Policy | Business Intelligence | Data Science | Open Science

Portfolio navigation

Back to Monica Cueto Tapia's research portfolio

Primary Lab: Development Analytics Lab

Secondary Labs: Applied Economics Lab, Research Methods Lab, Business Intelligence Lab, Data Science Lab, Open Science Lab

Related projects:

About

Reproducible credit-risk and financial-inclusion analytics for Bolivia, combining forecasting, stress testing, territorial balance indicators and a public dashboard.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages