res_vs_pred function

Residuals plotted against population predictions