statsmodels.tsa.filters.filtertools.recursive_filter(x, ar_coeff, init=None)
[source]
Autoregressive, or recursive, filtering.
Parameters: |
|
---|---|
Returns: |
y – Filtered array, number of columns determined by x and ar_coeff. If a pandas object is given, a pandas object is returned. |
Return type: |
array |
Computes the recursive filter
y[n] = ar_coeff[0] * y[n-1] + ... + ar_coeff[n_coeff - 1] * y[n - n_coeff] + x[n]
where n_coeff = len(n_coeff).
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tsa.filters.filtertools.recursive_filter.html