Posterior forest for two models

Posterior forest for two models#

Forest plot summaries for 1D marginal distributions

Matplotlib version of plot_forest_models

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")

c = load_arviz_data("centered_eight")
n = load_arviz_data("non_centered_eight")
pc = azp.plot_forest(
    {"Centered": c, "Non Centered": n},
    backend="none"  # change to preferred backend
)
pc.show()

See also

API Documentation: plot_forest

Other examples comparing marginal distributions: Posterior KDEs for two models

Other examples with plot_forest#