Posterior Predictive Check Plot#
See also
API Documentation: plot_ppc()
import matplotlib.pyplot as plt
import arviz as az
az.style.use("arviz-doc")
data = az.load_arviz_data("non_centered_eight")
az.plot_ppc(data, data_pairs={"obs": "obs"}, alpha=0.03, textsize=14)
plt.show()
import arviz as az
data = az.load_arviz_data("non_centered_eight")
ax = az.plot_ppc(data, alpha=0.03, figsize=(12, 6), backend="bokeh")