On 5/28/12 7:58 PM, Bob Carpenter wrote:
> Why is NUTS II set up to adapt both step size
> and a diagonal mass matrix?
It's not! It's actually adapting a vector
of step sizes.
Should I doc it that way?
Anyway, that still leaves:
> The practical problem arises with the very simple normal
> sampling model with NUTS II:
>
> parameters {
> real y;
> }
> model {
> y ~ normal(0,1);
> }
>
> With 1000 warmup iterations and 1000 samples, what
> often happens is that the chain moves slowly around the
> mode (here the origin) and then gets stuck when it
> gets 2 standard deviations away from the mode with an
> effectively 100% rejection rate.
>
> With 5000 warmup iterations and 5000 samples, the
> problem seems to go away for some reason.
>
> Also, if I set epsilon to a fixed value, I don't
> run into the problem.
I must've gotten lucky on the value I chose :-)
- Bob