Posterior Predictive Check Cumulative Plot#
API documentation: plot_ppc()
Python source code: [download source: matplotlib/mpl_plot_ppc_cumulative.py]
import matplotlib.pyplot as plt
import arviz as az
az.style.use("arviz-darkgrid")
data = az.load_arviz_data("non_centered_eight")
az.plot_ppc(data, alpha=0.3, kind="cumulative", figsize=(12, 6), textsize=14)
plt.show()
Python source code: [download source: bokeh/bokeh_plot_ppc_cumulative.py]
import arviz as az
data = az.load_arviz_data("non_centered_eight")
ax = az.plot_ppc(data, alpha=0.3, kind="cumulative", figsize=(12, 6), backend="bokeh")