Last time | Next time |
We were looking at some examples, including some of the functions from the "Bestiary", which can be linearized -- meaning that we can use linear regression to estimate their parameters even though the models are non-linear in the parameters.
To do that, we use the results of our Keeling model's trig terms (thanks Connor), and one of those important trig identities: either
How do we interpret the power? (Remember my remarks above about interpreting the parameters of your model!)
Does the exponential model suffer the same problem? What is the impact of a shift in time scale?
My previous version matched the linear version in the linear case, but actually allowed for values greater than 1! That's not good...:) Ironically, this version could actually be negative, but, in that case, you'd certainly say that your model is very, very bad!
By the way, some people don't like to use $R^2$ at all for non-linear models.
Alexander also illustrates that one cannot simply invert the regression equation $y=a+bx$ to get the regression equation $x=\frac{y-a}{b}$. So it really matters in linear regression which variable is considered "independent" and which is considered "dependent".