[R] tseries(arma) vs. stats(arima)

From: Richard Saba <sabaric_at_charter.net>
Date: Fri, 21 Mar 2008 11:22:59 -0500

The "arma" function in the "tseries" package allows estimation of models with specific "ar" and "ma" lags with its "lag" argument. For example: y[t] = a[0] + a[1]y[t-3] +b[1]e[t-2] + e[t] can be estimated with the following specification : arma(y, lag=list(ar=3,ma=2)).

Is this possible with the "arima" function in the "stats" or in other time series packages like fArima, forecast, or FinTS? They all take a "lag" argument. I would like to have the ability to estimate models like the one above while utilizing the "xreg" argument available in the other arima functions .
Richard Saba

R-help_at_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. Received on Fri 21 Mar 2008 - 16:38:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 21 Mar 2008 - 17:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive