StabilityAssessment.is_stationary#
- classmethod StabilityAssessment.is_stationary(ar_coeffs, *, tol=1e-8)[source]#
Convenience predicate: is the AR/VAR strictly stationary?
The strict verdict of
assess_stability()without the record:Trueonly when every companion eigenvalue has modulus below1 - tol. Unit roots, and stable roots withintolof the circle, returnFalse.- Parameters:
- Return type:
- Returns:
Trueiff all companion eigenvalues lie strictly inside the unit circle, by more thantol.- Raises:
SpecificationError – If
tolis negative andar_coeffsis non-empty.DimensionError – If
ar_coeffsis neither rank 1 nor a stack of square matrices.NumericalError – If
ar_coeffscontains non-finite values, or the eigenvalue computation returns them.
Example
>>> _StabilityAssessment.is_stationary([1.5]) False >>> _StabilityAssessment.is_stationary([0.5, -0.3]) True >>> _StabilityAssessment.is_stationary([1.0]) False