statsmodels.imputation.bayes_mi.MI.fit

MI.fit(results_cb=None)[source]

Impute datasets, fit models, and pool results.

Parameters:
results_cbfunction, optional

If provided, each results instance r is passed through results_cb, then appended to the results attribute of the MIResults object. To save complete results, use results_cb=lambda x: x. The default behavior is to save no results.

Returns:
A MIResults object.

Last update: Dec 23, 2024