Learn R Programming

CoSMoS (version 2.2.0)

YW: 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)

Value

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

Arguments

ACS

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

See Also

ARp, seasonalAR