From the course: 11 Useful Tips for Regression Analysis

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Polynomial variables

Polynomial variables

From the course: 11 Useful Tips for Regression Analysis

Start my 1-month free trial

Polynomial variables

- [Instructor] Linear regression does not mean you need to model every relationship in a linear way. Many processes in real life have complex relationships that include curves and failure to model such relationships can result in biased regression estimates. So let's take a look at how we can use polynomials to fit quadratic and cubic relationships in a regression. A polynomial is a mathematical expression that uses the same variable, often, multiple times raised to various powers. The highest power or exponent, denotes the degree of the polynomial. Here's some examples of typical mathematical polynomials and expression with only a constant as a polynomial of degree zero and expression with one X is a polynomial of degree one, and then expression with one X squared and one X is a polynomial of degree two and so on. Unfortunately we cannot include a variable twice in a regression model, but we can include transformations of…

Contents