warn_eigens warns if the model contains near-unit-roots in some regimes
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".
Returns
Doesn't return anything.
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.