Hi!I have no clue on how to optimize this. But having Metropolis Hastings in Stan would make it simple to compare the performance of HMC to what is the defacto standard so far. However, the best and most convincing comparison would be some sort of integration with the best performing Metropolis Hastings software out there. I mean with this I want to show how bad Hastings is and using a known to be good engine for that is certainly a good trust building thing to do. Have you thought about translating Stan models to … I don’t know… maybe cppBugs?However, I also agree that our time is better spent in optimizing HMC/NUTS for the sake of getting this even further… (but for selling “why stan” we need this comparison)Best,SebastianFrom: Michael Betancourt [mailto:betan...@gmail.com]
Sent: Mittwoch, 19. März 2014 14:55
To: Bob Carpenter
Cc: Andrew Gelman; Daniel Lee; Weber, Sebastian
Subject: Re: Metropolos Hastings in Stan?Oh, sorry, missed the "finishing up".I'd be happy if we just implemented the identity proposal covariance -- the others aren't hard to code just hard to automateand, more importantly, harder to use.
On Wed, Mar 19, 2014 at 1:49 PM, Bob Carpenter <ca...@alias-i.com> wrote:
On Mar 19, 2014, at 2:45 PM, Michael Betancourt <betan...@gmail.com> wrote:
> Pretty sure Peter Li already did this in a branch --Absolutely. That's what I meant when I said he could "finish it up".
I think it was probably pre-new-command structure.
But even if we can't get adaptation working fully, it'd be nice
to have as a comparison, even if it required specifying the covariance
matrix of the normals from which proposals are made or running for
a really long time during warmup just to see what mixing is after
convergence and adaptation for some models.
- Bob
On Mar 19, 2014, at 2:45 PM, Michael Betancourt <betan...@gmail.com> wrote:
> Pretty sure Peter Li already did this in a branch -- the problem was the tuning which is not going to be immediately solvable any time soon.
>
>
> On Wed, Mar 19, 2014 at 1:41 PM, Bob Carpenter <ca...@alias-i.com> wrote:
> No, we haven't implemented Metropolis yet. We have some
> preliminary demos, but nothing that'll work out of the box.
> The roadblock we ran into was tuning. We couldn't even make
> it work for all the BUGS examples.
>
> Do you have any idea how to auto-tune it?
>
> We're also less than motivated because we know it doesn't
> sample well in thekinds of problems we care about, even if
> we could tune proposals better.
>
> Adding Metropolis would be a nice project for someone --- it's
> pretty independent in that it can run from the command line.
> Maybe we can get Peter Li to finish it up this summer. And it'd
> be nice to have these comparisons on a lot of models.
>
> - Bob
>
> On Mar 19, 2014, at 1:12 PM, Weber, Sebastian <sebasti...@novartis.com> wrote:
>
> > Hi Bob!
> >
> >
> >
> > Just a quick question: Can I run the stan models with metropolis hastings as MCMC engine? I am asking because I would like to get a quick comparison of hwo the model would perform if I were to run it with NONMEM BAYES which implements some form of Metropolis Hastings.
> >
> >
> >
> > I would be happy to show that this algo does not do any good in our application…
> >
> >
> >
> > Best,
> >
> >
> >
> > Sebastian Weber
> >
> > Senior Statistical Methodologist, Novartis Oncology
> >
> > Biometrics and Data Management
> >
> > Novartis Pharma AG
> >
> > Postfach
> >
> > CH-4002 Basel
> >
> > SWITZERLAND
> >
> >
> >
> > Phone +41 61 3246217
> >
> > Fax +41 61 6961710
> >
> > sebasti...@novartis.com
> >
> > www.novartis.com
> >
> >
> >
>
>
My understanding is that it just wouldn't converge for
the BUGS models. Has anyone ever done this kind of large-scale
random-walk Metropolis test and figured out a good way to
adapt the jumping covariance?