Psych (Jul 2021)

Using the Effective Sample Size as the Stopping Criterion in Markov Chain Monte Carlo with the Bayes Module in M<i>plus</i>

  • Steffen Zitzmann,
  • Sebastian Weirich,
  • Martin Hecht

DOI
https://doi.org/10.3390/psych3030025
Journal volume & issue
Vol. 3, no. 3
pp. 336 – 347

Abstract

Read online

Bayesian modeling using Markov chain Monte Carlo (MCMC) estimation requires researchers to decide not only whether estimation has converged but also whether the Bayesian estimates are well-approximated by summary statistics from the chain. On the contrary, software such as the Bayes module in Mplus, which helps researchers check whether convergence has been achieved by comparing the potential scale reduction (PSR) with a prespecified maximum PSR, the size of the MCMC error or, equivalently, the effective sample size (ESS), is not monitored. Zitzmann and Hecht (2019) proposed a method that can be used to check whether a minimum ESS has been reached in Mplus. In this article, we evaluated this method with a computer simulation. Specifically, we fit a multilevel structural equation model to a large number of simulated data sets and compared different prespecified minimum ESS values with the actual (empirical) ESS values. The empirical values were approximately equal to or larger than the prespecified minimum ones, thus indicating the validity of the method.

Keywords