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
str
The name of the variable to be plotted.
- ax
AxesSubplot
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.
- col_name
- Returns:
The
matplotlib
figure
on
which
the
histograms
were
drawn