Skip to content

Apply a Seasonal ARMA process

2 messages · Stefano Sofia, Rolf Turner

#
On 22/06/13 01:48, Stefano Sofia wrote:
I am not at all sure what you are trying to do, but I'm pretty sure that 
whatever
it is, arima() is *not* the appropriate tool.  The arima() function is 
used to *fit*
models to time series.  E.g. in your context to *estimate* the 
coefficients of your
seasonal model.  Here you appear to *know* the values of these coefficients
(they are 0.54 and 0.5) so whatever you are trying to do it would seem that
you are not trying to estimate anything.

Perhaps you want to *filter* your time series through a seasonal AR(2) 
filter
with coefficients 0.54 and 0.5?  In this case the function filter() 
might help you.
You might also consider using arima.sim() with argument "innov" equal to 
your
given time series (which you call --- ugh!!! --- "my_ts", using that 
abominable
Micro$oft originating "my this", "my that" convention).

Where on earth did you get that "sar= ..." syntax (of which you quite 
understandably
say you are "unsure") anyhow?  The arima() function has no such argument.

         cheers,

             Rolf Turner