O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adjusted R-square plot

The adjusted R-square plot is also helpful in selecting a model. Each row of the following plot represents a separate model, with the intercept and all of the variables as columns. The plot function shows how adjusted R-square (y-axis) changes for each of the variables in the model:

plot(out, scale = "adjr2")

To select an optimal model, look to the point at which variables have black boxes near the top of the y-axis range.

For our example, that would mean using the four-variable model Ozone, Month, Solar.R, and Day. However, as noted previously, the difference between the two and four variable model seems minimal. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required