KalmanFilter.filter()

statsmodels.tsa.statespace.kalman_filter.KalmanFilter.filter

KalmanFilter.filter(filter_method=None, inversion_method=None, stability_method=None, conserve_memory=None, tolerance=None, loglikelihood_burn=None, results=None, complex_step=False) [source]

Apply the Kalman filter to the statespace model.

Parameters:

filter_method : int, optional

Determines which Kalman filter to use. Default is conventional.

inversion_method : int, optional

Determines which inversion technique to use. Default is by Cholesky decomposition.

stability_method : int, optional

Determines which numerical stability techniques to use. Default is to enforce symmetry of the predicted state covariance matrix.

conserve_memory : int, optional

Determines what output from the filter to store. Default is to store everything.

tolerance : float, optional

The tolerance at which the Kalman filter determines convergence to steady-state. Default is 1e-19.

loglikelihood_burn : int, optional

The number of initial periods during which the loglikelihood is not recorded. Default is 0.

results : class, object, or {‘loglikelihood’}, optional

If a class which is a subclass of FilterResults, then that class is instantiated and returned with the result of filtering. Classes must subclass FilterResults. If an object, then that object is updated with the new filtering results. If the string ‘loglikelihood’, then only the loglikelihood is returned as an ndarray. If None, then the default results object is updated with the result of filtering.

© 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.statespace.kalman_filter.KalmanFilter.filter.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部