loan data analysis for risk measurement