StabilityAssessment.is_invertible#
- classmethod StabilityAssessment.is_invertible(ma_coeffs, *, tol=1e-8)[source]#
Is an MA/ARMA invertible? (companion of the MA polynomial, roots inside).
The same strict companion test as
is_stationary(), applied to moving-average coefficients. It therefore reads its argument in the autoregressive convention and tests \(1 - M_1 z - \cdots - M_q z^q\).Warning
A moving-average polynomial written the usual way, \(\theta(L) = 1 + \theta_1 L + \cdots + \theta_q L^q\), must be passed negated. Passing
thetaitself tests a different polynomial and returns a wrong verdict whenever the two disagree; forq == 1they happen to coincide. The fitted results negate internally, so this applies only to direct calls.- Parameters:
- Return type:
- Returns:
Trueiff all companion eigenvalues lie strictly inside the unit circle.- Raises:
SpecificationError – If
tolis negative andma_coeffsis non-empty.DimensionError – If
ma_coeffsis neither rank 1 nor a stack of square matrices.NumericalError – If
ma_coeffscontains non-finite values, or the eigenvalue computation returns them.