YW: Yule-Walker solver

View source: R/ar-models.R

YWR Documentation

Yule-Walker solver

Description

Solves the Yule-Walker equations to compute AR(p) coefficients from an autocorrelation structure (ACS) vector. Used internally by ARp and seasonalAR.

Usage

YW(ACS)

Arguments

ACS

Numeric vector. ACS values starting from lag 0 (ACS[1] = 1). The AR order is length(ACS) - 1.

Value

Numeric matrix of AR coefficients, shape (p, 1).

See Also

ARp, seasonalAR


CoSMoS documentation built on May 8, 2026, 1:08 a.m.