Residual analysis for the simple regression model