[R] lm and time series.

Gabor Grothendieck ggrothendieck at gmail.com
Fri Sep 5 18:37:48 CEST 2008


The Time Series section in ?lm should be self explanatory.   If you are using
diff's and lag's then look at the dyn package.

On Fri, Sep 5, 2008 at 12:25 PM,  <rkevinburton at charter.net> wrote:
> I did a ?lm and it said basically to be careful when using lm and a time series. But my question is probably more to do with my inexperience that anything. If I have a time series object 'ti' how do I write the formula? The response is the value at any particular time and the time is basically the index of the time series. But I don't know how to put that into a formula.
>
> Thank you.
>
> Kevin



More information about the R-help mailing list