I am performing an experiment using classes of ARIMA models which I have to simulate for instance AR, MA, ARMA and possibly ARIMA using arima.sim() function in R. I am able to AR, MA, ARMA but ARIMA seems impossible as the coefficient of AR must be greater than 1 ($|\phi| > 1$) for the series to be non-stationary.
Simulate MA of 10 sample size with a coefficient of 0.8
set.seed(837530)
ma1 <- arima.sim(n = 10, model = list(ma = c(0.8), order = c(0, 0, 1)), sd = 1)
forecast::auto.arima(ma1, ic = "aicc")
Simulate MA of 10 sample size with coefficients of 0.4 and 0.4
set.seed(181917)
ma2 <- arima.sim(n = 10, model = list(ma = c(0.4, 0.4), order = c(0, 0, 2)), sd = 1)
forecast::auto.arima(ma2, ic = "aicc")
Simulate ARMA of 10 sample size with coefficients of 0.4 and 0.4
set.seed(455287)
arma11 <- arima.sim(n = 10, model = list(ar = c(0.4), ma = c(0.4), order = c(1, 0, 1)), sd = 1)
forecast::auto.arima(arma11, ic = "aicc")
My attempt to simulate from ARIMA
arima111 <- arima.sim(n = 10, model = list(ar = c(1.1), ma = c(0.3), order = c(1, 1, 1)), sd = 1)
Error in arima.sim(n = 10, model = list(ar = c(1.1), ma = c(0.3), order = c(1, :
'ar' part of model is not stationary
WHAT I WANT
Can it be said in a public domain that
it is not possible to simulate a series from ARIMA distribution? (having $\phi$ value as the estimate ofARparameter and $\theta$ asthe estimate of `MA parameter).If it is possible, please demonstrate it for me using
arima.sim()function or through any other way usingR.
