Data in Brief (Jun 2024)

Comprehensive credit scoring datasets for robust testing: Out-of-sample, out-of-time, and out-of-universe evaluation

  • Jonah Mushava,
  • Michael Murray

Journal volume & issue
Vol. 54
p. 110262

Abstract

Read online

This data article curates datasets from Freddie Mac's Single-Family Loan-Level Dataset (SFLLD) quarterly snapshots. The SFLLD tracks loan originations in the USA along with the ensuing repayment trends. This live dataset undergoes quarterly updates. The current work is based on over 50 million fully amortized fixed-rate mortgage loans, which were initiated from 1999 through June 2022. Monthly performance metrics for these loans span from 1999 to September 30, 2022. Loan origination and repayment data were integrated using a unique loan ID, with defaults being identified when three payments were missed within specific performance windows (12-, 24-, 36-, 48-, and 60-months). To ensure rigorous model evaluation, only loans initiated post-2008 and their performance up to 2019 were considered, intentionally sidestepping external influences from the 2007 to 2008 financial crisis and the COVID-19 pandemic. The data was stratified by credit scores, leading to 10 folders with three distinct datasets for model training, out-of-sample testing, and out-of-time testing. We designed the out-of-time testing dataset to mimic real-life conditions as closely as possible. A unique “out-of-universe” test dataset was further constructed from 2019-originated loans, capturing their performance throughout the pandemic. In each dataset, there are 1464 covariates and a binary target label. With the release of these datasets, we hope to empower researchers to utilize common datasets, especially in the credit-scoring area, where access to proprietary datasets is limited.

Keywords