# Linear Regression Model [closed]

Which of the following is NOT a linear regression model?

A. y = w_0 + w_1 * x

B. y = w_0 + w_1 * (x^2)

C. y = w_0 + w_1 * log(x)

D. y = w_0 * w_1 + log(w_1) * x


## closed as off-topic by John, kjetil b halvorsen, Juho Kokkala, Tim♦, gung - Reinstate Monica♦Dec 9 '15 at 10:46

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Self-study questions (including textbook exercises, old exam papers, and homework) that seek to understand the concepts are welcome, but those that demand a solution need to indicate clearly at what step help or advice are needed. For help writing a good self-study question, please visit the meta pages." – John, kjetil b halvorsen, Juho Kokkala, Tim, gung - Reinstate Monica
If this question can be reworded to fit the rules in the help center, please edit the question.

• please add 'self study' tag. it looks like a homework – Learner Dec 9 '15 at 6:46
• "This question does not show any research effort" certainly applies here... – Adrian Dec 9 '15 at 10:26

When we say "linear regression" we mean linearity in parameters, not variables. Therefore, A, B and C are linear (the parameters $w_0$ and $w_1$ enter the equations linearly) while D is not (the parameter $w_1$ enters in logarithm).

• If this is a self-study question, I know I should have not answered it directly. However, I saw an existing answer that I believe is wrong, so I thought it may be more important to give an alternative (and hopefully correct) answer right away. – Richard Hardy Dec 9 '15 at 8:12
• I agree, d is not a linear regression – Repmat Dec 9 '15 at 9:40
• Polynomial regression is a special case of multivariate linear regression, so I must agree. – d0rmLife Dec 9 '15 at 14:57
• @d0rmLife, OK, it's good that we reached consensus. – Richard Hardy Dec 9 '15 at 15:06