-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rewrite multiyear Stan models in JAGS #108
Comments
Well glad to know I can help you out again!
Model should be fairly easy to write. There's lots of ways to do it.
And everything converges with time.
|
Yeah I'll draft a model this weekend. Plummer says they're planning an if() statement: That would make my life so much easier ... But the control flow isn't necessary. On Fri, Dec 18, 2015 at 9:47 PM, Morgan Tingley notifications@github.com
|
@mtingley I still intend to write out those equations, but I put a pretty thorough set of definitions at the top of this model file, and at the end of those top comments is a brief equation summary
@mpinsky @mtingley I've been running 100 iterations on a semi-full EBS data set (33 years, ~250 spp, 74 sites, a few covariates). It's been 14 hours, and hasn't finished. In my mind, this basically means I won't be able to run this model at all (a month for 5k iterations, assuming that run with 100 iterations finished right now). What's a guy to do here? Go back to separate years? Collapse the sites into binomial (eck)? Or maybe my model is doing something stupid. IDK. |
Thought: I actually have many covariates, because for the detection submodel year is a categorical predictor. Things to try:
|
The model is written, so I'm closing this. But the generic problem of computational walls remains a problem for any MSOM model that includes many years of data (lots of data) |
@mpinsky @mtingley --- I'm giving up on Stan. I've had it.
It's slow for testing (even if it gets effective sample size more quickly, it inhibits rapid prototyping), it keeps breaking, I can't model integer parameters, and Morgan doesn't know it so I can't get as much advice when weird things happen.
I will definitely missing Stan's if()else() statements
I'm done. I learned a new language, I polished up my understanding of the models, and I wrote a bunch of code to carefully handle input data.
I'm hoping that writing the JAGS model won't be too bad, especially coming from Stan. The trick, really, will be getting the model and the data to match. I can do it, I'm just hoping it won't take more than a couple days.
I feel relief just writing this issue. Let's just hope that the JAGS model converges etc.
The text was updated successfully, but these errors were encountered: