Learn R Programming

sstvars (version 1.1.0)

warn_eigens: Warn about near-unit-roots in some regimes

Description

warn_eigens warns if the model contains near-unit-roots in some regimes

Usage

warn_eigens(stvar, tol = 0.002, allow_unstab = FALSE)

Value

Doesn't return anything.

Arguments

stvar

object of class "stvar"

tol

if eigenvalue is closer than tol to its bound, a warning is thrown

allow_unstab

If TRUE, estimates not satisfying the stability condition are allowed. Always FALSE if weight_function="relative_dens".

Details

Warns if, for some regime, some moduli of "bold A" eigenvalues are larger than 1 - tol or some eigenvalue of the error term covariance matrix is smaller than tol.