LOO-PIT ECDF

LOO-PIT ECDF#

Plot of the probability integral transform of the posterior predictive distribution with respect to the observed data using the leave-one-out (LOO) method.

Matplotlib version of plot_loo_pit

Link to this page with the bokeh tab selected

Link to this page with the plotly tab selected

from arviz_base import load_arviz_data

import arviz_plots as azp

azp.style.use("arviz-variat")

dt = load_arviz_data("radon")
pc = azp.plot_loo_pit(
    dt,
    backend="none",
)
pc.show()

See also

API Documentation: plot_ppc_pit

EABM chapter on Posterior predictive checks with LOO-PIT ECDFs

Other examples with plot_loo_pit#