Posterior Predictive Check PlotΒΆ

../../_images/mpl_plot_ppc.png

Python source code: [download source: mpl_plot_ppc.py]

API documentation: plot_ppc

import arviz as az

az.style.use("arviz-darkgrid")

data = az.load_arviz_data("non_centered_eight")
az.plot_ppc(data, data_pairs={"obs": "obs"}, alpha=0.03, figsize=(12, 6), textsize=14)