statsmodels.tsa.arima_process.arma2ma#

statsmodels.tsa.arima_process.arma2ma(ar, ma, lags=100)[source]#

A finite-lag approximate MA representation of an ARMA process

Parameters:
ararray_like

The auto regressive lag polynomial.

maarray_like

The moving average lag polynomial.

lagsint, optional

The number of coefficients to calculate.

Returns:
ndarray

The coefficients of MA lag polynomial with lags elements.

Notes

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