Compares the observed acceptance rate against the optimal rate for the sampler: 0.234 for random-walk Metropolis, 0.574 for MALA, about 0.8 for HMC. These are not interchangeable, and judging an HMC run by the Metropolis target will send you in the wrong direction.
Usage
morie_acceptance_rate_diagnostic(
chains,
target = NULL,
kind = c("metropolis", "mala", "hmc")
)Details
Acceptance rate alone says nothing about mixing. A sampler taking tiny steps accepts almost everything and explores almost nothing – read this with ESS, never on its own.
