Skip to content
Prev 67448 / 398525 Next

Regression and time series

On Apr 11, 2005 8:18 PM, Fernando Saldanha <fsaldan1 at gmail.com> wrote:
b <- ts(diff(a)) should be 

   b <- diff(a) 

By applying ts to diff(a) you are resetting the time.