Loan Default Risk Modelling in Microfinance Institutions: From Single Loans to Whole Portfolios
Notice: This is a sample project for study and reference. Submitting it as your own work violates most universities' academic integrity policies.
Abstract
About This Research Topic
A market trader asks for a small loan to restock her shelves. She has no audited accounts, no long credit history and nothing valuable to pledge as collateral. The lender must still decide quickly whether to say yes, how much to offer and what to charge, and it must make hundreds of such decisions without going bankrupt. That is the daily reality of microfinance, and the quality of the resulting loan portfolio decides whether the institution survives.
Mathematics can help at every stage of that decision. It can estimate the chance that one loan defaults, convert that chance into an approve-or-decline rule, and measure how bad losses on the whole portfolio can become when borrowers are not independent of one another. Too often these tools are taught separately, so students rarely see how they connect.
This article draws on an undergraduate research project that links all three levels in one framework and tests every result on a simulated portfolio of 5,000 loans. It explains the problem the study tackles, its objectives and questions, and the main findings it reports. An important point is made at the outset: the data and monetary assumptions are simulated and describe no real institution. If you are a mathematics student searching for a well-built applied project, a credit officer curious about what scoring can and cannot do, or a lecturer wanting a teaching case, the sections below show how the pieces fit together.
Main Abstract
Microfinance institutions lend small sums to borrowers with little collateral and no formal credit history, so the health of the loan portfolio determines whether the institution endures. This project develops and tests a mathematical framework for loan default risk at three levels: the probability that a loan defaults, the decision to approve it, and the loss on the whole portfolio. It proves the properties of the logistic regression likelihood and the equivalence of the Newton-Raphson iteration with iteratively reweighted least squares. It also covers the asymptotic normality of the estimator, the interpretation of the area under the ROC curve, the propriety of the Brier score, the profit-maximising approval cutoff, Vasicek's large-portfolio loss distribution, the theory of absorbing Markov chains and the break-even interest margin.
Each result was tested in Python on a simulated portfolio of 5,000 loans from a hypothetical Nigerian microfinance bank whose true default probabilities are known. The data and monetary assumptions are simulated and do not describe any real institution.
The iteration converged in 7 steps and matched standard software to rounding error. The estimator failed in 4.1 percent of samples of 100 loans and in none from 500 loans upward, and from that size the Wald intervals had coverage close to 95 percent. On unseen loans, logistic regression reached an AUC of 0.740 against 0.748 for the true probabilities, and it beat a random forest and gradient boosting at every training size from 200 to 6,400 loans, a comparison that favours it because the data were generated by a logistic model.
The theoretical cutoff derived from the margin and loss given default turned a loss of ₦4.76 million from approving every test loan into a profit of ₦5.85 million, while the accuracy-maximising cutoff lost ₦4.16 million. The Vasicek formula matched the simulated tail of the portfolio default rate, and with a correlation of 0.10, capital for unexpected loss at the 99.9 percent level was ₦51.46 million against ₦7.38 million for independent borrowers. A Markov chain of delinquency states gave eventual default probabilities of 15.2, 30.9 and 58.6 percent from the current, 1 to 30 days late and 31 to 90 days late states, close to the true values of 15.9, 31.8 and 58.3 percent. The results show that the choice of cutoff and the dependence between borrowers matter more to the lender than small differences between scoring methods.
Key Results at a Glance
Topic
Reported result (simulated portfolio of 5,000 loans)
Estimation
Newton-Raphson iteration converged in 7 steps and matched standard software; estimator failed in 4.1% of samples of 100 loans and none from 500
Discrimination on unseen loans
Logistic regression AUC 0.740 versus 0.748 for the true probabilities; better than random forest and gradient boosting at every training size from 200 to 6,400 loans
Approval cutoff
Approving every loan lost ₦4.76 million; the theoretical cutoff earned ₦5.85 million; the accuracy-maximising cutoff lost ₦4.16 million
Portfolio capital (99.9% level)
₦51.46 million with correlation 0.10 versus ₦7.38 million for independent borrowers
Eventual default probability by stage
Current 15.2%, 1 to 30 days late 30.9%, 31 to 90 days late 58.6% (true values 15.9%, 31.8% and 58.3%)
Chapter One Preview
Background to the Study
Microfinance institutions serve people that commercial banks often overlook: market traders, small farmers, tailors, artisans and other self-employed borrowers. The idea gained worldwide attention through Bangladesh's Grameen Bank and the work of Muhammad Yunus, who showed that poor borrowers, many of them women, could repay small loans reliably when the lending method suited their circumstances. The difficulty for the lender is that the usual tools of a conventional bank, such as audited accounts, long credit histories and valuable collateral, are largely missing. Loans are also too small to justify a lengthy investigation of every applicant.
Nigeria is a large market for this kind of lending. As the study notes, the Central Bank of Nigeria issued its microfinance policy framework in December 2005 and revised it on 29 April 2011, aiming to provide affordable and dependable financial services to the economically active poor and to bring informal microfinance into the regulated system. The revision is available in the Central Bank of Nigeria's revised Microfinance Policy Framework. The study reports that 866 microfinance banks had been licensed by that time, in the unit, state and national categories. A bank making many small loans lives or dies by its portfolio quality: if too many borrowers fail to repay, the bank loses capital, depositors' savings are exposed, and borrowers who do repay lose access to credit.
Credit risk can be studied at three levels. The first is the individual loan: given what is known about a borrower, what is the probability of default? Credit scoring answers this with a model fitted to past loans, and logistic regression is the standard tool. The second is the decision: given the probability, should the loan be approved, and at what price? That depends on the lender's costs and gains, not on probability alone. The third is the portfolio: how large can total losses become, and how much capital is needed to survive a bad year?
At the portfolio level, dependence between borrowers matters, because people in the same market feel the same economic shocks. Oldrich Vasicek's one-factor model captures this with a single common factor and underlies the capital formulas in the Basel framework, which the Basel Committee explains in its explanatory note on the Basel II risk weight functions. Earlier work has examined credit scoring in microfinance: Schreiner (2004) discussed its benefits and pitfalls, and Van Gool and colleagues (2012) concluded that scoring could add value for a Bosnian microfinance institution when used carefully. Tools exist; what a student still needs is an account of why they work, how reliable they are and how the three levels fit together. This study supplies that, with each statement either proved or tested by computation.
Statement of the Problem
Textbooks and software present logistic regression, scorecards, validation statistics, cutoff rules and portfolio loss models as separate topics. As a result, several questions that matter to a student or analyst in a microfinance institution are seldom answered with numbers in one place. How much data is needed before estimated coefficients and their confidence intervals can be trusted? Does a modern machine learning method improve on logistic regression when data are scarce, as they usually are in a small institution?
A model with an acceptable discrimination statistic can still lead to poor lending decisions, so which measures of model quality matter for the decision to lend? How should the approval cutoff be chosen when only about one loan in eight defaults? How large can portfolio losses become when borrowers are not independent, and how does the movement of loans through stages of delinquency affect the chance of eventual default? This study answers these questions for a fixed, reproducible set of data and models.
Aim and Objectives of the Study
The aim of the study is to develop and test a mathematical framework for modelling loan default risk in a microfinance institution, covering the probability of default of a single loan, the lending decision and the loss distribution of the portfolio.
The specific objectives are to:
1. Formulate the logistic regression model of default, prove the properties of its log-likelihood, and show that the Newton-Raphson iteration is an iteratively reweighted least squares algorithm.
2. Measure by simulation how the accuracy of estimated coefficients and the coverage of their confidence intervals depend on sample size.
3. Compare the logit, probit and complementary log-log links, and build a weight-of-evidence scorecard with a points scale.
4. Define and prove the properties of the validation measures (the area under the ROC curve, the Gini coefficient, the Kolmogorov-Smirnov statistic, the Brier score and calibration), and compare logistic regression with random forests and gradient boosting on a hold-out sample and as the training sample grows.
5. Derive the profit-maximising approval cutoff and test it numerically.
6. Prove the large-portfolio loss distribution of Vasicek and use simulation to find the expected loss, value at risk and expected shortfall of a portfolio.
7. Model the delinquency stages as an absorbing Markov chain, estimate the transition probabilities, compute the probabilities of eventual default and test the Markov property.
8. Derive the break-even interest margin from the probability of default and show how risk-based pricing changes profit by risk class.
Research Questions
• Does the derived iteration converge quickly, agree with standard software and recover the coefficients of a known data-generating process?
• From what sample size do maximum likelihood estimates become approximately unbiased and their Wald intervals reach the nominal 95 percent coverage?
• Do the three link functions give materially different predictions, and does a weight-of-evidence scorecard lose accuracy compared with logistic regression on the raw variables?
• Which model discriminates and calibrates best on unseen loans, and how does the answer change with the size of the training sample?
• How closely does the theoretical approval cutoff match the cutoff that maximises profit on a hold-out sample, and why is accuracy a poor guide?
• How much capital does correlation between borrowers add to the portfolio, and how well does the Vasicek formula describe the simulated loss distribution?
• What is the probability that a loan in each delinquency stage ends in default, how uncertain is it, and is the Markov assumption acceptable?
• How different are the break-even margins of low-risk and high-risk borrowers, and what happens to profit when one flat margin is charged to everyone?
Significance of the Study
For mathematics students, the study joins probability, statistics, linear algebra, optimisation and Markov chains in one problem with real economic meaning. Every theorem is proved or cited, and every theorem that can be tested is tested on data.
For credit officers and managers of microfinance institutions, it shows what a scoring model can and cannot do, how much data it needs, how to turn probabilities into decisions and how to estimate the capital a portfolio requires. For regulators and lecturers, the complete code in the appendices can be re-run on any institution's data or used as a teaching laboratory.
Scope of the Study
The study treats the probability that a loan defaults, defined as a loan that becomes more than 90 days overdue before it is repaid, and the losses that follow. The models are the logistic, probit and complementary log-log regressions, the weight-of-evidence scorecard, random forests and gradient boosting as benchmarks, the one-factor Gaussian model of portfolio loss and a monthly Markov chain of delinquency stages.
The data are a simulated portfolio of 5,000 loans from a hypothetical Nigerian microfinance bank, with borrower and loan characteristics typical of the sector. No records from any real institution were used, because such records are confidential. The study does not cover competitive interest rate setting, the effect of the macroeconomy on default over time, the recovery process in detail or the legal environment of lending.
Operational Definition of Terms
Term
Operational Definition
Default
A loan that becomes more than 90 days overdue before it is fully repaid.
Probability of default (PD)
The probability that a loan defaults, given what is known about the borrower and the loan at the time of the decision.
Loss given default (LGD)
The fraction of the exposure that is lost when a loan defaults, after recoveries.
Exposure at default (EAD)
The amount owed by the borrower at the time of default; here, the loan amount.
Expected loss
The average loss, equal to the product of PD, LGD and EAD for a single loan.
Odds ratio
The factor by which the odds of default are multiplied when a covariate rises by one unit, holding the others fixed.
Weight of evidence (WoE)
The natural logarithm of the ratio of the share of good loans to the share of bad loans in a bin of a variable.
Information value (IV)
A measure of how well a variable separates good from bad loans, computed from the weights of evidence of its bins.
AUC and Gini coefficient
The area under the ROC curve, and the quantity 2 × AUC − 1.
Value at risk (VaR) and expected shortfall (ES)
A high quantile of the portfolio loss distribution, and the average loss beyond that quantile. Their use in capital rules is explained in the Basel Committee's explanatory note.
Portfolio at risk (PAR)
The share of the loan portfolio that is overdue by more than a given number of days.
Absorbing state
A state of a Markov chain that, once entered, is never left; here, default and full repayment.
Conclusion
The study's most practical message is that lending decisions and portfolio structure matter more than the choice between two good scoring models. In the simulated results, a cutoff derived from the lender's own margin and loss given default converted an overall loss into a profit, while a cutoff chosen to maximise accuracy still lost money. Likewise, allowing even modest correlation between borrowers multiplied the capital requirement several times over. Logistic regression performed strongly, but the design favours it because the data were generated from a logistic model, so the supported conclusion is that it is hard to beat when the true relationship is close to logistic and samples are small, not that it will win on every real portfolio. The loss given default, margin and cost assumptions are also assumed values, so profit conclusions depend on them. For students and practitioners, the work is a complete template for connecting probability of default, lending decisions and portfolio capital in one coherent framework.
Frequently Asked Questions
1. What is loan default risk modelling?
It is the use of statistical and mathematical models to estimate how likely loans are to default, to decide which loans to approve, and to measure how large losses on a whole portfolio could become.
2. Why is logistic regression used for credit scoring?
Logistic regression models the probability of a yes-or-no outcome such as default, produces interpretable coefficients and odds ratios, and is the standard tool in statistical credit scoring.
3. How much data does logistic regression need?
In the study's simulations, the estimator failed in 4.1 percent of samples of 100 loans and in none from 500 loans upward. From that size the Wald confidence intervals had coverage close to the nominal 95 percent.
4. Does machine learning beat logistic regression?
Not in this study. Logistic regression outperformed a random forest and gradient boosting at every training size from 200 to 6,400 loans. The study cautions that this comparison favours logistic regression because the simulated data came from a logistic model.
5. Why is accuracy a poor guide for choosing the approval cutoff?
When only about one loan in eight defaults, a rule can achieve high accuracy while losing money. In the study, the accuracy-maximising cutoff lost ₦4.16 million on the test loans, while the theoretical profit-maximising cutoff earned ₦5.85 million.
6. What is the Vasicek model?
It is a one-factor model of portfolio credit losses in which borrowers' defaults are linked through a single common economic factor. It gives a closed-form loss distribution for a large portfolio, and it underlies capital rules in the Basel framework.
7. How much does borrower correlation matter?
Greatly. With a correlation of 0.10, capital for unexpected loss at the 99.9 percent level was ₦51.46 million, compared with ₦7.38 million if borrowers were independent.
8. What is a Markov chain of delinquency states?
It models how loans move month to month between stages such as current, 1 to 30 days late and 31 to 90 days late, with default and repayment as absorbing states. The study found eventual default probabilities of 15.2, 30.9 and 58.6 percent for the three stages, close to the true values.
9. Are real microfinance bank data used?
No. The study uses a simulated portfolio of 5,000 loans from a hypothetical Nigerian microfinance bank, because real loan records are confidential. The monetary assumptions are also assumed values, so the results do not describe any real institution.
10. What are the main limitations?
The data are simulated from a logistic model, which partly builds in logistic regression's advantage. Loss given default, margin and cost rates are assumed, and the Markov chain's true transition matrix was chosen by the author. The results show the methods work as the theory predicts, not how any real institution performs.
Purchase to unlock the full material.
