Find correlated scorecard characteristics

Drop in a file of credit applications and their outcomes. See how the characteristics move together, review their VIFs and clusters, then choose one to keep from each for the scorecard builder.

Applications file

1,000 applications have a known outcome, including 300 bad applications. Correlations use the 696 training rows the scorecard builder fits on.

The file is read and everything is worked out in this browser, and nothing is uploaded.

With an outcome, each characteristic, including text characteristics, is binned as the scorecard builder bins it and measured by its weight of evidence, so these are the correlations the scorecard will carry. With no outcome, correlations use number columns as they are, on rows where all are filled.

These are 1,000 real credit applications from a bank in a public data set, with 20 characteristics. It is the same file the scorecard builder opens on.

Settings

Splitting starts at 1. A lower value gives more, smaller clusters, and a limit on the clusters stops splitting early.

These are starting levels. Set them to the levels in the lender’s modelling standards.

Characteristics grouped

7 clusters
Characteristics measured20
Highest VIF1.63
Pairs above builder’s level0

The 20 characteristics fall into 7 clusters. 0 have a VIF above the red level, and 0 above the amber level.

The scorecard builder opens on the same file with the characteristics not kept left out. The file goes from this page to the builder inside the browser.

Pairwise correlations

PositiveNegative

The characteristics are in cluster order, and each framed square is one cluster. Dark cells outside the squares show correlations between clusters.

Clusters and choices

The 7 clusters include 5 with more than one characteristic. From each cluster, the characteristic with the highest information value is suggested.

The 1 − R² ratio is low when a characteristic is close to its own cluster and far from the others, so it speaks for its cluster. Pick another to keep if the business would rather explain it.

KeepClusterCharacteristicInformation valueOwn cluster R²Nearest cluster R²1 − R² ratioVIFBuilder check
1duration · Suggested0.3200.7420.0610.2751.55Builder considers it
1credit_amount0.1660.6820.0610.3381.63Builder considers it
1foreign_worker0.0450.0850.0130.9261.07Builder considers it
1other_installment_plans0.0650.0550.0220.9661.11Builder considers it
2checking_status · Suggested0.7470.6190.0120.3851.19Builder considers it
2savings0.1630.3960.0080.6091.09Builder considers it
2credit_history0.3300.3210.0230.6951.24Builder considers it
3age0.0760.3810.0310.6391.21Builder considers it
3people_liable0.0030.3210.0120.6871.15Information value too low
3employment · Suggested0.1090.3210.0240.6961.11Builder considers it
3existing_credits0.0010.2740.0080.7321.15Information value too low
3personal_status0.0560.2600.0060.7441.11Builder considers it
4housing0.1140.7040.0180.3011.32Builder considers it
4property · Suggested0.1180.6730.1220.3731.50Builder considers it
4residence_since0.0070.0840.0070.9221.05Information value too low
5job0.0140.6180.0280.3941.17Information value too low
5telephone0.0020.5850.0590.4411.20Information value too low
5purpose · Suggested0.1750.0760.0100.9331.07Builder considers it
✓6other_debtors0.0521.0000.0160.0001.09Builder considers it
✓7installment_rate0.0291.0000.0040.0001.18Builder considers it

VIF by characteristic

credit_amount has the highest VIF at 1.63. No characteristic is above 5, so no characteristic is mostly explained by the others together.

A VIF shows how much a characteristic’s coefficient variance grows because the other characteristics explain it. It catches a characteristic explained by several others together, which no single pair in the heat map shows.

Strongest raw pairs

These are the columns as they are, before binning, as Decisimo screens them. The measure is Spearman for two number columns and Cramér’s V for two text columns, from 0.2 up.

CharacteristicCharacteristicMeasureValueRows
durationcredit_amountSpearman0.6251,000
propertyhousingCramér’s V0.5531,000
jobtelephoneCramér’s V0.4261,000
credit_historyexisting_creditsCramér’s V0.3781,000
employmentjobCramér’s V0.3111,000
personal_statuspeople_liableCramér’s V0.2841,000
employmentresidence_sinceCramér’s V0.2611,000
residence_sincehousingCramér’s V0.2371,000
purposetelephoneCramér’s V0.2211,000
credit_historyother_installment_plansCramér’s V0.2151,000
purposehousingCramér’s V0.2101,000
purposepropertyCramér’s V0.2061,000
purposejobCramér’s V0.2031,000
personal_statushousingCramér’s V0.2021,000

In Decisimo, the scorecard built from these characteristics runs in the credit decision. Every decision and outcome is kept for the next build. Start your trial

Method details
r = Pearson (Weight of evidence)
VIF = 1 ÷ (1 − R²),   R² VIF of characteristic
Cluster split: λ₂ > 1  →  Rotate principal components and move characteristics
1 − R² ratio = (1 − R² Own cluster) ÷ (1 − R² Nearest other cluster)
Keep choice: Highest information value
Builder correlation check: |r| > 0.7
Spearman, Cramér’s V ≥ 0.2

Clustering starts with all characteristics together. The cluster whose second principal component explains the most is split into two, until no second principal component explains more than one characteristic’s worth. Each characteristic is compared with its own cluster’s first principal component and the nearest other cluster’s first principal component. Correlations use the scorecard builder’s bins and training rows, and the levels are starting points.

Source: Statlog (German Credit Data), Hans Hofmann, UCI Machine Learning Repository (CC BY 4.0).

Correlations and VIF for scorecards

The tool measures correlations between scorecard characteristics from a file of applications. With an outcome, it bins each characteristic as the scorecard builder does and measures its weight of evidence. Number columns can also be measured as they are.

Correlated characteristics can carry overlapping information, and coefficients can take unexpected signs. The clusters and VIF help you inspect that overlap before building. The suggested characteristic is a starting point, and you can choose another based on what the business can explain.

Common questions

How do I check multicollinearity before building a scorecard?

Use the tool to measure correlations and VIF from a file of applications. It groups characteristics into clusters so you can inspect which ones move together before building.

What does VIF mean in credit scoring?

VIF measures how much a characteristic’s coefficient variance grows because the other characteristics explain it. It can show when several characteristics together explain one characteristic, even if no single pair does.

How does variable clustering group scorecard characteristics?

The tool starts with all characteristics in one cluster and splits the cluster whose second eigenvalue is highest above the chosen level. It assigns characteristics to the closer of the first two principal components, then moves them when that raises the variance explained.

What does the 1 − R² ratio mean in variable clustering?

The ratio compares how closely a characteristic relates to its own cluster with how closely it relates to the nearest other cluster. A low ratio means it is close to its own cluster and far from the others.

How do I choose one characteristic from a correlated cluster?

The tool suggests the characteristic with the highest information value when an outcome is available. You can choose another if the business would rather explain it.