W3cubDocs

/Statsmodels

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:
Return type:

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