KalmanSmoother.smooth()

statsmodels.tsa.statespace.kalman_smoother.KalmanSmoother.smooth

KalmanSmoother.smooth(smoother_output=None, results=None, run_filter=True, prefix=None, complex_step=False, **kwargs) [source]

Apply the Kalman smoother to the statespace model.

Parameters:

smoother_output : int, optional

Determines which Kalman smoother output calculate. Default is all (including state, disturbances, and all covariances).

results : class or object, optional

If a class, then that class is instantiated and returned with the result of both filtering and smoothing. If an object, then that object is updated with the smoothing data. If None, then a SmootherResults object is returned with both filtering and smoothing results.

run_filter : bool, optional

Whether or not to run the Kalman filter prior to smoothing. Default is True.

prefix : string

The prefix of the datatype. Usually only used internally.

Returns:

SmootherResults object

© 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_smoother.KalmanSmoother.smooth.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部