Re: [R] use of simulate.Arima (forecast package)

2013-04-16 Thread Rui Barradas
Hello, The help page is pretty clear, I think. You have to pass an object of class 'Arima', 'ar' or 'ets' to simulate.Arima. See, for instance the second example in the help page for ?Arima. And extend it like this: set.seed(6816) lines(simulate(air.model, nsim = 48), col = "red") Hope thi

[R] use of simulate.Arima (forecast package)

2013-04-15 Thread Stefano Sofia
I would like to simulate some SARIMA models, e.g. a SARIMA (1,0,1)(1,0,1)[4] process. I installed the package 'forecast', where the function simulate.Arima should do what I am trying to do. I am not able to understand how it works Could somebody help me with an example? thank you Stefano Sofia