Skip to main content

How can banks adapt to increasingly dynamic customers?

An income estimation model built from a vintage analysis of customer debt helps infer ability to repay without asking for as much paperwork.

To offer tailored products, banks need to know each customer’s ability to repay. Alexis Quintana walks through a case study with April 2019 data: how to estimate income with regression models using people’s debts across the financial system, which metrics to use and how to explain model error to the business.

The market has changed: banks now have to win customers by offering them good products. Good products depend on quality, and getting there means analyzing certain variables.

Income is a clear example: it tells a bank how much a customer can repay and which products it can offer. This article walks through a case study on how to build an income estimation model with machine learning, using people’s debts across the financial system, and how to show the business how reliable the prediction is.

The path to personalized offers

Financial institutions are moving from a reactive stance toward prospective customers to a much more proactive one, adapting their portfolio of products and services to each person’s needs.

Lending is one of the core banking activities, and a central element of the credit approval process is determining a customer’s ability to repay.

Traditionally, assessing ability to repay is a verification process based on the documents the applicant can provide. New trends, however, push institutions to speed up approvals and even to offer customers the added value of not having to submit so much paperwork.

In this context, banks need techniques that infer a customer’s ability to repay and, in particular, predict an individual’s income.

Is predicting a customer’s exact income the only way?

The case study uses data from April 2019.

Sample table with month, person ID and net income
Fig. 1. Customer universe

The target variable in this model is the person’s net income, so the problem is solved with regression models. A different strategy is also possible. For example, you could predict whether a person’s income is above or below a predefined threshold. That changes the problem completely, and it becomes a classification problem.

Finding the variables that drive the best prediction

The big challenge is finding the variables that predict an individual’s income as accurately as possible. In this first stage, the analyst plays a central role as the link between the business, which has the deepest knowledge, and the development team, so that this collaboration produces the best variables to feed the model.

In this use case, that stage ended with the conclusion that the different types of debt people hold across the financial system would be the most important variables and the best way to approach the goal of predicting income.

A vintage analysis is an ideal starting point for building a large set of variables from those debts. It requires a dataset with each person’s debts across different products over time.

Sample initial dataset with debts per person and month
Fig. 2. Sample initial dataset for the vintage analysis

Vintage analysis

This example uses customer data from April 2019. From that starting point, the vintage analysis looks back through the historical data of the customer universe being analyzed: first March 2019, then February 2019, and so on.

A good way to start is with a six-month lookback, choosing key variables for each financial institution, such as:

  • Credit card credit line
  • Credit card balance
  • Personal loan balance
  • Mortgage balance
  • Auto loan balance
Transformed dataset with debt balances per person and month
Fig. 3. First transformation of the initial dataset

For credit cards, you can add a variable that is usually very important: the difference between the credit line and the balance.

Once the historical data is in place, new variables can be derived from different statistical measures. For example, each of the variables above can be analyzed from these angles:

  • Average over the last 3 months
  • Average over the last 6 months
  • Increase over the last 3 months
  • Increase over the last 6 months
  • Frequency over the last 3 months
  • Frequency over the last 6 months
  • Standard deviation over the last 3 months (debt variability)
  • Standard deviation over the last 6 months

Finally, demographic, vehicle and other data can complete the picture.

How reliable is the prediction?

Every regression model, and income estimation models in particular, uses the classic metrics:

  • Mean squared error
  • R² (coefficient of determination)
  • Mean absolute error
  • Mean absolute percentage error

On their own, though, these metrics do not show the business the real error behind each estimate. To present the error in this type of model, the analyst should take the difference between actual and predicted income and then estimate the percentage error by range. In other words, it helps to show the business a breakdown by error range, like the one below:

Fig. 4. Measuring error in income estimation models
Error range Cases
Overestimate of 50% or more 740
Overestimate between 20% and 50% 970
Overestimate between 10% and 20% 563
Overestimate between 0% and 10% 624
Underestimate between 0% and 10% 564
Underestimate between 10% and 20% 498
Underestimate between 20% and 50% 751
Underestimate of more than 50% 121
Total 4,831

An error of up to 20% is generally acceptable, although that depends on each institution.

With that indicator, out of 4,831 cases this baseline model predicted income within a 20% error in 2,249 cases, just over 46% of the total.

To keep improving the model, you can extend the vintage window (to a full year, for example) and iterate on variable and model selection until you reach a result that meets the business requirements. Another strategy is to combine models: start with a customer segmentation model and then apply a different model to each segment.

The analyst’s role as translator in machine learning projects

Unlike classic analytics projects, where the business has a fairly clear idea of the steps and even of how far it can go, machine learning projects require several iterations with the business, and each one has to convey, as clearly and precisely as possible, the results so far and how close the team is to the agreed goal.

That is why the analyst’s role in explaining results matters so much: in a fast-changing environment, success in this type of project depends on good feedback between the business, the analyst and the development team.

Alexis Quintana
Data & Analytics Consultant, Quanam

¿Listo para dar
el próximo paso?

Inicia tu camino
Otras publicaciones

Before asking how to use AI in a utility, it is worth asking whether the data is ready to support better decisions.

Six connected stages take a public power finance function from assessment to adoption, so AI can support better, faster and more traceable decisions.

Affordability, capital investment and resilience are now moving together. Utilities need scenarios to make decisions before the future becomes clear.

Quanam, a digital transformation, data and AI consultancy headquartered in Montevideo, Uruguay, is Certified in the Claude Partner Network. Its team holds Claude certifications, part of a path guided by one conviction: AI delivers more when people work alongside it.

Leave a Reply