LOO-PIT ECDF PlotΒΆ

../../_images/mpl_plot_loo_pit_ecdf.png

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

API documentation: plot_loo_pit()

import matplotlib.pyplot as plt

import arviz as az

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

idata = az.load_arviz_data("radon")

az.plot_loo_pit(idata, y="y", ecdf=True, color="maroon")

plt.show()