statsmodels.tsa.arima_process.ArmaProcess.arma2ar#
- ArmaProcess.arma2ar(lags=None)[source]#
A finite-lag AR approximation 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 AR lag polynomial with
lagselements.
Notes
Equivalent to
arma_impulse_response(ma, ar, leads=lags)