MICE.next_sample()

statsmodels.imputation.mice.MICE.next_sample

MICE.next_sample() [source]

Perform one complete MICE iteration.

A single MICE iteration updates all missing values using their respective imputation models, then fits the analysis model to the imputed data.

Returns:

params : array-like

The model parameters for the analysis model.

Notes

This function fits the analysis model and returns its parameter estimate. The parameter vector is not stored by the class and is not used in any subsequent calls to combine. Use fit to run all MICE steps together and obtain summary results.

The complete cycle of missing value imputation followed by fitting the analysis model is repeated n_skip + 1 times and the analysis model parameters from the final fit are returned.

© 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.imputation.mice.MICE.next_sample.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部