This post is a short demonstration of a simple regression analysis based on a mock data set (dat) that consists of loan-installment-to-income ratios of 28 borrowers (LIIR) and the number of months before default (Months). I want to revise the basic steps for regression analysis in R and would like to show practitioners