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

View source: R/eigens.R

warn_eigensR Documentation

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)

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.

Value

Doesn't return anything.


sstvars documentation built on April 11, 2025, 5:47 p.m.