O'Reilly logo

Mastering Predictive Analytics with R - Second Edition by Rui Miguel Forte, James D. Miller

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

Polynomial regression

Polynomial regression is a kind of linear regression.

While linear regression is when both the predictor and the response are each continuous and linearly-related, causing the response to increase or decrease at a constant ratio to the predictor (that is, in a straight line), with polynomial regression, different powers of the predictor are successively added to see if they adjust the response significantly. As these increases are added to the equation, the line of data points will change its shape, turning the linear regression model from a best fitted line into a best fitted curve.

So, why should you bother with polynomial regression? The generally accepted answer or thought process is: when a linear model doesn't seem to ...

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