powered by
This example with aritifical data is designed to demonstrate the importance of plotting residuals.
data(Rpdata)
A data frame with 990 observations on the following 7 variables.
y
a numeric vector
x1
x2
x3
x4
x5
x6
Stefanski, L. A. (2007). Residual (sur)Realism. The American Statistician, 61, 163-177.
data(Rpdata) if (FALSE) { require(car) residualPlot(lm(Rpdata)) }
Run the code above in your browser using DataLab