ELPD Plot#

See also

API Documentation: plot_elpd()

../_images/mpl_plot_elpd.png

import matplotlib.pyplot as plt

import arviz as az

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

d1 = az.load_arviz_data("centered_eight")
d2 = az.load_arviz_data("non_centered_eight")

az.plot_elpd({"Centered eight": d1, "Non centered eight": d2}, xlabels=True)

plt.show()

import arviz as az

d1 = az.load_arviz_data("centered_eight")
d2 = az.load_arviz_data("non_centered_eight")

ax = az.plot_elpd({"Centered eight": d1, "Non centered eight": d2}, backend="bokeh")