statsmodels.sandbox.tsa.fftarma.ArmaFft.arma2ma#

ArmaFft.arma2ma(lags=None)#

A finite-lag approximate MA representation of an ARMA process

Parameters:
lagsint, optional

The number of coefficients to calculate. If not given, the nobs attribute of the process is used.

Changed in version 0.15.1: Omitting lags no longer raises an AttributeError.

Returns:
ndarray

The coefficients of MA lag polynomial with lags elements.

Notes

Equivalent to arma_impulse_response(ar, ma, leads=lags)