Learn R Programming

micvar (version 0.1.0)

verify_stability: Verify stability of a vector autoregressive model

Description

Stability is verified using the method the method on pages 14-17 of lutkepohl2005newmicvar. Specifically we generate the coefficient matrix for the VAR(1) representation of the process and check that all eigenvalues have modulus less than 1.

Usage

verify_stability(A)

Value

None. Throws error if not stable process.

Arguments

A

List of coefficient matrices.

References

lutkepohl2005newmicvar

Examples

Run this code
VAR3_2_A <- list(gen_coef_mat(3, 0.1, 0.3, 0.8), # lag 1
                 gen_coef_mat(3, 0.1, 0.4 , 0.5)) # lag 2
verify_stability(VAR3_2_A)

Run the code above in your browser using DataLab