Re: [R] Transfer Function Modeling

2003-03-06 Thread Martin Maechler
> "Richard" == Richard A Bilonick <[EMAIL PROTECTED]> > on Wed, 05 Mar 2003 12:01:01 -0500 writes: Richard> I think I've figured out the use of "filter" in the ts package, at least Richard> for a simple AR model. I simulated a simple AR time series, modeled it Richard> us

[R] Transfer Function Modeling

2003-03-05 Thread Richard A. Bilonick
I think I've figured out the use of "filter" in the ts package, at least for a simple AR model. I simulated a simple AR time series, modeled it using "arima", and then used "filter" to compute the 1-step ahead forecasts: > y.arma <- arima.sim(list(ar=0.8),n=200) > y.arma.arima <- arima(y.arma,

[R] Transfer Function Modeling

2003-03-05 Thread Richard A. Bilonick
I want to forecast a time series Y using a model that includes previous values of Y and an exogenous time series X using a transfer function. The standard procedure as described in Box and Jenkins and numerous other references is to first fit an ARIMA model to X. Use the ARIMA model to computer