pymc-devs / pymc-examples

Examples of PyMC models, including a library of Jupyter notebooks.
https://www.pymc.io/projects/examples/en/latest/
MIT License
282 stars 244 forks source link

Multilevel revision #463

Closed fonnesbeck closed 1 year ago

fonnesbeck commented 1 year ago

This is an update to the multilevel modeling notebook that makes two main changes:

  1. Removes the independent floor vs basement parameterization from the current notebook. Expressing the floor and basement measurements as entirely independent is not a great starting point, given that they are measuring the exact same phenomenon, just from a different location. This reverts to the covariate model that simply uses floor as an offset. I think this is less confusing overall.
  2. Adds the non-centered parameterization. While perhaps redundant with another notebook, its an important component of modeling this problem correctly.

I am also removing the GLM-hierarchical notebook, as it is almost completely redundant with this one, now that it no longer uses the extinct glm submodule.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

fonnesbeck commented 1 year ago

Some bad merge artifacts. Will create new PR from clean branch.