Figure 2: The relationship of age (grouped into intervals of 10 years) and the logistic function of the readmission rate. One can notice that there are three distinct intervals ([0, 30), [30, 60), and [60, 100)) where the relationship has noticeably distinct behavior. This preliminary plot was the motivation to divide the age variable into three categories (Table 3).