> My questions here are threefold:
>
> 1. What are the problems with treedepth being greater than 10 here? Does this mean that NUTS is terminating prematurely?
Yes, if it bumps up against the limit, NUTS is stopping before
it hits a U-turn.
In this sense, hitting max_treedepth + 1 is not as unambiguous as n_divergent__ is.
Ben
> On Jul 14, 2015, at 8:35 AM, Ben Lambert <ben.c....@googlemail.com> wrote:
>
> Hi,
>
> Thanks Bob and Ben for your answers; those are helpful for my understanding. If I understand it correctly, does NUTS terminating early just mean HMC is like bog standard Metropolis;
More like Langevin, but yes, more like a random walk.
The big advantage of HMC is that it can follow the Hamiltonian
across the posterior.
> meaning that the posteriors should be ok, but the model will take a long time to run?
>
> Ok - it actually seems that on reflection, the dispersion parameter of the negative binomial is not the part that is causing the problem. If I move to a hierarchical poisson regression model of the form below, I still run into issues of a large tree depth. Below K=106, and is the total number of individual time series. nSpecies=21, and shows the total number of distinct species across all the studies.
>
> I have tried moving to a non-centered parameterisation, do you think this could help?
Maybe --- depends on how much data you have. Read Michael's paper for
more details.
> If so, is there any way you could hint how I can do this, as the centered models I have tried are not working?
>
What are you trying to center?