warn_ar_roots
warns if the model contains near-unit-roots in some regimes
warn_eigens(gsmvar, stat_tol = 0.0015, posdef_tol = 2e-04)
Doesn't return anything.
an object of class 'gsmvar'
, typically created with fitGSMVAR
or GSMVAR
.
numerical tolerance for stationarity of the AR parameters: if the "bold A" matrix of any regime
has eigenvalues larger that 1 - stat_tol
the model is classified as non-stationary. Note that if the
tolerance is too small, numerical evaluation of the log-likelihood might fail and cause error.
numerical tolerance for positive definiteness of the error term covariance matrices: if the error term covariance matrix of any regime has eigenvalues smaller than this, the model is classified as not satisfying positive definiteness assumption. Note that if the tolerance is too small, numerical evaluation of the log-likelihood might fail and cause error.
Warns if, for some regime, some moduli of "bold A" eigenvalues are larger than 1 - stat_tol
or
some eigenvalue of the error term covariance matrix is smaller than podef_tol
.