[R] plotting predictions

2008-05-15 Thread Habib, Mohamed A F A M
I have the following model: m1.dis=arima(diff(diff(log(ts1),lag=12)),order=c(0,1,1),seasonal=list(order=c(0,1,1),period=12)) I would like to know how to plot the correct predictions in the original units because I am trying the following code but it is not working. I believe that there must be

Re: [R] plotting predictions

2008-05-15 Thread Prof Brian Ripley
You appear to be doing the differencing twice. Do it only in arima, and not in the data you supply. On Thu, 15 May 2008, Habib, Mohamed A F A M wrote: I have the following model: m1.dis=arima(diff(diff(log(ts1),lag=12)),order=c(0,1,1),seasonal=list(order=c(0,1,1),period=12)) I would like