statsmodels.tsa.arima_process.ArmaProcess.arma2ma#
- ArmaProcess.arma2ma(lags=None)[source]#
A finite-lag approximate MA representation of an ARMA process
- Parameters:
- lags
int,optional The number of coefficients to calculate. If not given, the
nobsattribute of the process is used.Changed in version 0.15.1: Omitting
lagsno longer raises anAttributeError.
- lags
- Returns:
ndarrayThe coefficients of MA lag polynomial with
lagselements.
Notes
Equivalent to
arma_impulse_response(ar, ma, leads=lags)