Learn R Programming

itsmr (version 1.1)

yw: Estimate AR coefficients using the Yule-Walker method

Description

Estimate AR coefficients using the Yule-Walker method

Usage

yw(x, p)

Arguments

x
Data vector (typically residuals from Resid)
p
AR order

Value

  • Returns an ARMA model consisting of a list with the following components.
  • phiAR coefficients
  • theta0
  • sigma2White noise variance
  • aiccAkaike information criterion corrected
  • se.phiStandard errors for the AR coefficients
  • se.theta0

Details

The innovations algorithm is used to estimate white noise variance.

See Also

arma burg hannan ia

Examples

Run this code
xv = c("diff",1)
e = Resid(dowj,xv)
a = yw(e,1)

Run the code above in your browser using DataLab