KalmanSmoother.loglikeobs()

statsmodels.tsa.statespace.kalman_smoother.KalmanSmoother.loglikeobs

KalmanSmoother.loglikeobs(loglikelihood_burn=None, **kwargs)

Calculate the loglikelihood for each observation associated with the statespace model.

Parameters:

loglikelihood_burn : int, optional

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

**kwargs

Additional keyword arguments to pass to the Kalman filter. See KalmanFilter.filter for more details.

Returns:

loglike : array of float

Array of loglikelihood values for each observation.

Notes

If loglikelihood_burn is positive, then the entries in the returned loglikelihood vector are set to be zero for those initial time periods.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部