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