Skip to contents

The function computes the eigenvalues of the input matrix x. It checks if all eigenvalues have moduli less than 1. If all eigenvalues have moduli less than 1, the system is considered stationary.

Usage

TestStationarity(x)

Arguments

x

Numeric matrix.

Author

Ivan Jacob Agaloos Pesigan

Examples

x <- matrix(
  data = c(0.5, 0.3, 0.2, 0.4),
  nrow = 2
)
TestStationarity(x)
#> [1] TRUE

x <- matrix(
  data = c(0.9, -0.5, 0.8, 0.7),
  nrow = 2
)
TestStationarity(x)
#> [1] FALSE