W3cubDocs

/Statsmodels

statsmodels.imputation.mice.MICEData.next_sample

MICEData.next_sample() [source]

Returns the next imputed dataset in the imputation process.

Returns: data – An imputed dataset from the MICE chain.
Return type: array-like

Notes

MICEData does not have a skip parameter. Consecutive values returned by next_sample are immediately consecutive in the imputation chain.

The returned value is a reference to the data attribute of the class and should be copied before making any changes.

© 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.MICEData.next_sample.html