The main problem is that the number of iterations required
for convergence is a function of initialization, and pretty
much impossible to diagnose until you've gone way past what
you need. Unitl you've made 50 or so draws *after warmup*, it's hard
to diagnose non-convergence.
This is why we haven't automated any of this or
worried too much about restarting.
There's some interesting open research questions around all of
this, such as sharing adapation across chains and minimizing number
of post-warmup chains required to diagnose convergence. The whole
convergence thing is a can of worms, as you may have gathered if
you're following Ben's and Andrew's and Michael's discussion on
the stan-dev mailing list.
To address Tamas's specific procedure:
(1) by all means, this is the way to go.
(2) ditto.
(4) ditto.
(3) usually, we run until the MCMC std error is an
order of magnitude or so below the posterior std deviation.
And that's usually well below 1000 iterations total unless
we need very precise answers or have a model with difficult geometry
where the effective sample size rate per iteration is low.
We usually get there by doubling. Start with 100 iterations
total, half warmup, half sampling, and if that's not enough,
start again and double it. At most you waste about 50% of
your time compared to the absolute ideal (which as Tamas points
out is very hard to diagnose).
- Bob
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
>