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 this helps,
Rui Barradas
Em 15-04-2013 15:13, Stefano Sofia escreveu:
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
AVVISO IMPORTANTE: Questo messaggio di posta elettronica può contenere
informazioni confidenziali, pertanto è destinato solo a persone autorizzate
alla ricezione. I messaggi di posta elettronica per i client di Regione Marche
possono contenere informazioni confidenziali e con privilegi legali. Se non si
è il destinatario specificato, non leggere, copiare, inoltrare o archiviare
questo messaggio. Se si è ricevuto questo messaggio per errore, inoltrarlo al
mittente ed eliminarlo completamente dal sistema del proprio computer. Ai sensi
dell’art. 6 della DGR n. 1394/2008 si segnala che, in caso di necessità ed
urgenza, la risposta al presente messaggio di posta elettronica può essere
visionata da persone estranee al destinatario.
IMPORTANT NOTICE: This e-mail message is intended to be received only by
persons entitled to receive the confidential information it may contain. E-mail
messages to clients of Regione Marche may contain information that is
confidential and legally privileged. Please do not read, copy, forward, or
store this message unless you are an intended recipient of it. If you have
received this message in error, please forward it to the sender and delete it
completely from your computer system.
______________________________________________
R-help@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.
______________________________________________
R-help@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.