pymc-devs / pymc-examples

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

Revised multilevel modeling notebook #468

Closed ghost closed 1 year ago

ghost 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

twiecki commented 1 year ago

So far I only skimmed but this looks excellent. Still need to solve pre-commit issues with the myst files.

fonnesbeck commented 1 year ago

Pre-commit issues fixed.

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

View / edit / reply to this conversation on ReviewNB

twiecki commented on 2022-11-25T14:46:17Z ----------------------------------------------------------------

Can we add axis labels?


fonnesbeck commented on 2022-11-25T22:56:19Z ----------------------------------------------------------------

Added.