Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MRPyMC3-Multilevel Regression and Poststratification with PyMC3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tmastny

This comment has been minimized.

Show comment
Hide comment
@tmastny

tmastny Nov 9, 2017

Great work! You mention that "all of the applications of MRP I have found online involve R's lme4 package or Stan." I've seen the MRP primer and Gelman and Hill's example in their book; do you have any other examples you could share?

tmastny commented Nov 9, 2017

Great work! You mention that "all of the applications of MRP I have found online involve R's lme4 package or Stan." I've seen the MRP primer and Gelman and Hill's example in their book; do you have any other examples you could share?

@jaircastruita

This comment has been minimized.

Show comment
Hide comment
@jaircastruita

jaircastruita May 9, 2018

During cell 34, fitting the model, gives me the following error:

Bad initial energy: inf. The model might be misspecified. NaN occurred in optimization.

Could the dataset or the internals on library pyMC3 change enough to give this? I,m using pymc3 version 3.3 with python version 3.6

jaircastruita commented May 9, 2018

During cell 34, fitting the model, gives me the following error:

Bad initial energy: inf. The model might be misspecified. NaN occurred in optimization.

Could the dataset or the internals on library pyMC3 change enough to give this? I,m using pymc3 version 3.3 with python version 3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment