-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Stalling NUTS #540
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
Comments
What if you replace MvNormal with Normal? does that work? That's the part On Sun, May 4, 2014 at 6:53 PM, Chris Fonnesbeck
|
Thanks. I did notice some issues with fitting models that use the Wishart, but did not know there were MVN concerns. I'm sure an independent normal model would work, but wanted to explicitly include correlation. I suppose I could use the conditional forms. |
That at least narrows down the problem to the MVN, we should take a look On Mon, May 5, 2014 at 5:32 PM, Chris Fonnesbeck
|
I'm sure this is related to the Wishart. Closing here and moving discussion over to #538. |
The following model, which is a relatively simple network meta-analysis, works pretty well in PyMC 2:
The idea is that there are 7 different treatments and 3 different outcome variables, and I am modeling them jointly. However, when I port this model to PyMC 3, the NUTS sampler has problems with it. Specifically, it runs for about 100 iterations and then stalls. I have no success getting a decent sample with Slice and Metropolis as well. So, I'm wondering if I've simply made a mistake in implementation:
It seems like a pretty straightforward one, so I'm hoping someone spots something I'm doing wrong. (Note I am using a simple diagonal matrix for the variance-covariance here, as I cannot get the Wishart to work).
The text was updated successfully, but these errors were encountered: