Posterior forest for two models#
Forest plot summaries for 1D marginal distributions
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
#




