powered by
Estimate AR coefficients using the Yule-Walker method
yw(x, p)
Returns an ARMA model consisting of a list with the following components.
Vector of AR coefficients (index number equals coefficient subscript)
0
White noise variance
Akaike information criterion corrected
Standard errors for the AR coefficients
Time series data (typically residuals from Resid)
Resid
AR order
The innovations algorithm is used to estimate white noise variance.
arma burg hannan ia
arma
burg
hannan
ia
M = c("diff",1) e = Resid(dowj,M) a = yw(e,1)
Run the code above in your browser using DataLab