Bayesian p-value Posterior plotΒΆ

../../_images/mpl_plot_bpv.png

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

API documentation: plot_bpv()

import matplotlib.pyplot as plt

import arviz as az

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

data = az.load_arviz_data("regression1d")
az.plot_bpv(data)

plt.show()