Skip to content

Multilevel modeling #47

Closed
Closed
@OriolAbril

Description

@OriolAbril

file: https://github.com/pymc-devs/pymc-examples/blob/main/examples/case_studies/multilevel_modeling.ipynb

This notebook endured a significant rewrite not too long ago, and is one of the go to examples on ArviZ+xarray usage. This is both its main pro and its own downfall. There are some nits to keep it up to its current golden standard.

Required changes

The notebook should be reexecuted with latest pymc3 and have the warning filter removed (there should be no warnings, if there are they should be fixed). Moreover, rerunning with latest ArviZ will generate much more aesthetically pleasing forestplots. legend=True should be used for forestplots with multiple models.

Changes for discussion

The plot forest on cell 42 should use the approach described in arviz-devs/arviz#1627 to avoid showing the 1 dots that correspond to the elements in the diagonal.

⚠️ These changes need to wait for the next ArviZ release, they require ArviZ>0.11.2, 0.11.2 is not enough.

Metadata

Metadata

Labels

high impactNotebooks with most visits on docs.pymc.iotracker idIssues used as trackers in the notebook update project, do not close!

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions