Learn R Programming

SignalY (version 1.1.1)

check_stationarity: Check Stationarity of AR Coefficients

Description

Verifies whether autoregressive coefficients satisfy stationarity conditions by checking that all roots of the characteristic polynomial lie outside the unit circle.

Usage

check_stationarity(phi)

Value

A list with:

is_stationary

Logical indicating whether the process is stationary

roots

Complex roots of the characteristic polynomial

moduli

Moduli of the roots

Arguments

phi

Numeric vector of AR coefficients (phi_1, phi_2, ..., phi_p).

Details

For an AR(p) process, stationarity requires that all roots of the characteristic polynomial \(1 - \phi_1 z - \phi_2 z^2 - ... - \phi_p z^p\) have modulus greater than 1. This is equivalent to requiring that all roots of the polynomial lie outside the unit circle in the complex plane.

The function constructs the companion matrix and computes its eigenvalues, which are the inverses of the characteristic polynomial roots.

References

Hamilton, J. D. (1994). Time Series Analysis. Princeton University Press. Chapter 1.