Residual plots can be used to validate assumptions about the regression model. A formal test of lack of fit can be done when there are replicates at some combinations of the predictor values. The ...