Skip to content
Prev 246341 / 398502 Next

ARIMA simulation including a constant

That output is not from arima(), which is the function paired with 
arima.sim().  Nor is it from arima0(), so I don't believe it is 
'ouptut from R' (perhaps from a contributed package you have not 
mentioned?).

With arima(), the intercept is 'm' in the notation on the help page 
and not 'a' in your personal re-definition.  You can easily go from 
one to the other by some trivial algebra ( a = m*(1-sum(ar)) ), but 
you do need to be sure what the unstated function you use is using.
On Mon, 3 Jan 2011, Paolo Rossi wrote: