Last time | Next time |
How's that going? Notice that for now we're only looking for annual periods, so we'll use linear combinations of $sin(2\pi t)$ and $cos(2\pi t)$ (don't try to model anything inside the sine and cosine arguments).
By the way, the $t$ is years -- if you measure time in some other units (e.g. days, then the functions would look like $sin(2\pi t/365)$ and $cos(2\pi t/365)$.
We'll talk about how we can determine outliers objectively (more matrix stuff...).
Some models you used appeared non-linear, but are linearizable!
(Tabligbo)
We started 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.
Patrick proposed an exponential model for the Keeling data, but it is non-linear in the parameters: \[ y(t)=ae^{bt} \]
Yet we can still use linear regression to fit it.
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?
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".