statsmodels.tsa.statespace.kalman_filter.KalmanFilter.set_filter_timing

KalmanFilter.set_filter_timing(alternate_timing=None, **kwargs) [source]

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_timing (integer, 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.

© 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.set_filter_timing.html