Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: BDA3 Chapter 11 #95

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

rpgoldman
Copy link
Contributor

Here's a first draft of the hierarchical model from Chapter 11.

I could use some help with this: the results I get with PyMC3 show problems with the model (divergences) and looser bounds than reported in BDA3.

Also, the code to reconstruct the table from BDA3 with data from PyMC3 and Arviz is pretty painful: can this be done more easily? Key problem is that I didn't know how to take the thetas, which are indexed by "Diet", and turn them from a single variable with a dimension of size four to four different variables, as Pandas needs.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

Review Jupyter notebook visual diffs & provide feedback on notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant