statsmodels.tsa.arima_process.lpol2index

statsmodels.tsa.arima_process.lpol2index(ar)[source]

Remove zeros from lag polynomial

Parameters:

ar : array_like

coefficients of lag polynomial

Returns:

coeffs : array

non-zero coefficients of lag polynomial

index : array

index (lags) of lag polynomial with non-zero elements