statsmodels.tsa.statespace.kalman_smoother.KalmanSmoother.set_filter_timing

KalmanSmoother.set_filter_timing(alternate_timing=None, **kwargs)

Set the filter timing convention

By default, the Kalman filter follows Durbin and Koopman, 2012, in initializing the filter with predicted values. Kim and Nelson, 1999, instead initialize the filter with filtered values, which is essentially just a different timing convention.

Parameters:
alternate_timingint, optional

Whether or not to use the alternate timing convention. Default is unspecified.

**kwargs

Keyword arguments may be used to influence the memory conservation method by setting individual boolean flags. See notes for details.


Last update: Dec 23, 2024