Why is Y = B0 + B1 * (X^2) linear and Y = B0 + (B1^2) * X not linear in linear regression?

1.6k Views Asked by At

I just started taking a regression analysis course. My professor was emphasizing that the class only focuses on Linear regression. The professor gave an example that:

> (1) Y = B0 + B1 * (X^2) is linear, and 
> (2) Y = B0 + (B1^2) * X is NOT linear.

The professor said that (1) is linear because the x-axis can just be changed to x^2. I don't really understand this part. This seems to be contrary to grade 12 math in which y = b + m*x^2 is considered quadratic. I argued that for (2), B1 is always constant. So B1^2 is just any other constant number, let's say B2, to which my professor said B1 is already fixed. But don't we also pretend to fix X as well - it is a controlled variable? I would really appreciate it if someone could explain this to me. Thank you in advance. Nobody else in the class raised a question about this, so maybe I am neglecting something small.

1

There are 1 best solutions below

2
On BEST ANSWER

In regression, the model is (or not) linear or nonlinear with respect to the parameters.

That is to say that if the model is $$y=f(a,b,x)$$ you need to look at the expression of $$\frac{dy}{da}$$ If this derivative is independent of $a,b,c$, then the model is linear with respect to $a$ and so on.

Does this clarify the point ?

In your examples, the first model is $$y=b_0+b_1 x^2 \implies \frac{dy}{db_0}=1 \qquad \text{and}\qquad \frac{dy}{db_1}=x^2$$ So, it is linear with respect to both $b_0$ and $b_1$.

At the opposite, for the second model $$y=b_0+b_1^2 x \implies \frac{dy}{db_0}=1 \qquad \text{but}\qquad \frac{dy}{db_1}=2 b_1x$$So, it is linear with respect to $b_0$ but nonlinear with respect to $b_1$. So, it is nonlinear.