MICEData.plot_imputed_hist()

statsmodels.imputation.mice.MICEData.plot_imputed_hist

MICEData.plot_imputed_hist(col_name, ax=None, imp_hist_args=None, obs_hist_args=None, all_hist_args=None) [source]

Display imputed values for one variable as a histogram.

Parameters:

col_name : string

The name of the variable to be plotted.

ax : matplotlib axes

An axes on which to draw the histograms. If not provided, one is created.

imp_hist_args : dict

Keyword arguments to be passed to pyplot.hist when creating the histogram for imputed values.

obs_hist_args : dict

Keyword arguments to be passed to pyplot.hist when creating the histogram for observed values.

all_hist_args : dict

Keyword arguments to be passed to pyplot.hist when creating the histogram for all values.

Returns:

The matplotlib figure on which the histograms were drawn

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部