I\'m working through the exercises at the end of each chapter of McNulty\'s Handbook of Regression Modeling in People Analytics. I\'m currently stuck on problem number nine