Skip to content

ARIMA question

2 messages · otunno at clemson.edu, Giovanni Petris

#
Hello -

How do I simulate multivariate ARIMA data?

I am familiar with the "arima.sim" function, which I have used several
times to generate univariate data, but when I type "help(arima.sim)", the
information I get back reveals nothing about possible multivariate
options.

Please reply when you get a free moment.

Thanks! Ferebee T.
#
You can use package dlm. There is a function -- dlmModARMA() -- to set
up an ARMA model (univariate or multivariate) in DLM form, and a
function -- dlmForecast() -- to obtain forecasts/simulations
(including pre-sample, which is what you need).

Hope this helps,
Giovanni