[R] plotting predictions

From: Habib, Mohamed A F A M <mohamedahmed-habib_at_uiowa.edu>
Date: Thu, 15 May 2008 03:09:35 -0500


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 something to account for the differencing.

plot(m1.dis,n1=c(1990,1),n.ahead=36,xlab='Year',type='o',ylab='Discharge (cfs)',transform=exp)

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 15 May 2008 - 11:39:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 15 May 2008 - 12:30:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive