0

# Can someone please explain the LINE assumptions for regression ?

If there is a u-shape in the scatterplot, how do we handle the violation to linearity?  Thank you.

### 1 Answer by Expert Tutors

Peter H. | Tutoring in Math, Science, and Computer EngineeringTutoring in Math, Science, and Computer ...
1
Hi Janet,

That's a very good question, and a complete answer could be a math course all by itself. But let's try to get some ideas. I suggest that you start by searching the web for "linear regression", and check some of the references -- such as,

In particular, search the articles for "polynomial regression". I think you will find that polynomial regression, such as

y = b0 + b1*x + b2*x2

is considered to be "linear regression" because "y" is a linear function of all 3 predictor variables -- 1, x, and x2. (The "1" comes from b0; that is we can think of b0 as b0*x0. x0, and anything to the zero power, is always 1.) Such a polynomial could have a u-shape over a range of x, and could fit the data quite well.

But if we assume we can only use "simple linear regression" (that is, an intercept and one term), then we can only have a model of the form

y = b0 + b1*x

[although technically x could be to any power, or even something like ex or log(x); the restriction is we can only have one term using x]. Such a model could exhibit a u-shape, but generally, because we are restricted to a single x-term, it will not fit the data very well. For example, the equation y = b0 + b1*x, will not fit u-shaped data very well. Even though the calculations will give an answer that crosses through the u-shaped data, it will fit poorly.

Therefore, to improve the fit, you must use "multiple linear regression" (such as polynomial regression) rather than "simple linear regression". And just as important is the fact that when using regression, never blindly fit a model to your data -- the math will always give an answer, even a bad answer! You must inspect the results, such as the scatter-plot you mention, to see if the model is appropriate.

I think you can find some other ideas in the articles you find with the web search.

I hope this helps you. Best wishes.