Back to NIMBLE Vignettes
The JAGS block sampler (Metropolis-Hastings with multivariate normal proposal) is assigned to sample all multivariate distributions which are not otherwise conjugate. JAGS contains conjugate samplers for multivariate cases:
The JAGS block sampler has two distrinct “regimes” of operation. When the mean acceptance probability first reaches a specified range, it transitions from Regime 1 to Regime 2, never to transition back.
Regime 1: Proposal covariance begins as the Identity matrix, and the diagonal elements uniformly adapt to affect the acceptance probability.
Regime 2: Both a scale factor and the off-diagonal elements of the covariance matrix will adapt.
RW_block
sampler
The JAGS block sampler is called the MNormal
or the MNormalMetropolis
sampler, I assume for “Multivariate Normal”.
Implementation can be found in the JAGS source code:
JAGS-4.2.0/src/modules/bugs/samplers/MNormal.cc
According to Martyn, the adaptation algorithm is “loosely based on”:
Andrieu and Thoms, A tutorial on adaptive MCMC, Statistics and Computing 18:4 (2008).
Initialize:
On each iteration:
Every 100 iterations:
Initialize:
On each iteration: