ed.ppc_stat_hist_plot

Aliases:

  • ed.criticisms.ppc_stat_hist_plot
  • ed.ppc_stat_hist_plot
ppc_stat_hist_plot(
    y_stats,
    yrep_stats,
    stat_name=None,
    **kwargs
)

Defined in edward/criticisms/ppc_plots.py.

Create histogram plot comparing data to samples from posterior.

Args:

  • y_stats: float. Float representing statistic value of observed data.
  • yrep_stats: np.ndarray. A 1-D NumPy array.
  • stat_name: string, optional. Optional string value for including statistic name in legend. **kwargs: Keyword arguments used by seaborn.distplot can be given to customize plot.

Returns:

matplotlib axes.