Coverage ECDF

Coverage ECDF#

Proportion of true values that fall within a given prediction interval.

Matplotlib version of plot_ppc_coverage

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_ppc_pit(
    dt,
    coverage=True,
    backend="none",
)
pc.show()

See also

API Documentation: plot_ppc_pit

EABM chapter on Posterior predictive checks and coverage

Other examples with plot_ppc_pit#