Skip to main content
QUICK REVIEW

[Paper Review] Convergence diagnostics for MCMC draws of a categorical variable

Benjamin Deonovic, Brian J. Smith|arXiv (Cornell University)|Jun 15, 2017
Machine Learning and AlgorithmsComputer Science12 references7 citations
TL;DR

This paper proposes two convergence diagnostics for Markov Chain Monte Carlo (MCMC) draws of categorical variables using chi-squared test statistics adapted for dependent data. The methods are validated through simulations and applied to a reversible jump MCMC finite mixture model, demonstrating effective convergence assessment for discrete parameters where traditional diagnostics fail due to dependence and discreteness.

ABSTRACT

Markov Chain Monte Carlo (MCMC) is a popular class of statistical methods for simulating autocorrelated draws from target distributions, including posterior distributions in Bayesian analysis. An important consideration in using simulated MCMC draws for inference is that the sampling algorithm has converged to the distribution of interest. Since the distribution is typically of a non-standard form, convergence cannot generally be proven and, instead, is assessed with convergence diagnostics. Although parameters used in the MCMC framework are typically continuous, there are many situations in which simulating a categorical variable is desired. Examples include indicators for model inclusion in Bayesian variable selection and latent categorical component variables in mixture modeling. Traditional convergence diagnostics are designed for continuous variables and may be inappropriate for categorical variables. In this paper two convergence diagnostic methods are considered which are appropriate for MCMC data. The diagnostics discussed in the paper utilize chi-squared test statistics for dependent data. Performance of the convergence diagnostics is evaluated under various simulations. Finally, the diagnostics are applied to a real data set where reversible jump MCMC is used to sample from a finite mixture model.

Motivation & Objective

  • To address the lack of effective convergence diagnostics for categorical variables in MCMC, which are common in Bayesian variable selection and finite mixture models.
  • To develop diagnostics that account for the dependence structure in MCMC output, which invalidates standard independence-based tests like Pearson’s chi-squared.
  • To provide a direct assessment of convergence for discrete parameters, avoiding reliance on continuous parameter functions as in ANOVA-based diagnostics.
  • To evaluate performance under various autocorrelation and model similarity conditions using simulation studies.
  • To demonstrate applicability on a real reversible jump MCMC finite mixture model.

Proposed method

  • Adapts the chi-squared test statistic for dependent data using a blockwise approach to handle autocorrelation in MCMC chains.
  • Employs a bootstrap procedure to estimate the null distribution of the test statistic under the assumption of convergence.
  • Derives an asymptotic approximation for the test statistic under the null hypothesis of convergence, assuming a multivariate normal limit for the counts.
  • Uses singular value decomposition (SVD) to decompose the design matrix and derive the covariance structure of the multinomial counts across chains.
  • Constructs a test statistic based on the quadratic form of the standardized deviations from expected counts under the null of convergence.
  • Applies the diagnostics to both simulated data and a real reversible jump MCMC finite mixture model to assess convergence of the discrete component indicators.

Experimental results

Research questions

  • RQ1Can chi-squared-based diagnostics be adapted to handle dependent MCMC draws of categorical variables?
  • RQ2How do the proposed diagnostics perform under varying levels of autocorrelation and model similarity?
  • RQ3Do the bootstrap and asymptotic versions of the diagnostic yield comparable convergence assessment results?
  • RQ4Can the diagnostics effectively detect non-convergence in a reversible jump MCMC finite mixture model?
  • RQ5How do the diagnostics compare to traditional ANOVA-based methods when applied to discrete parameters?

Key findings

  • The bootstrap-based diagnostic maintains appropriate Type I error rates across various autocorrelation levels and segment lengths, indicating robustness.
  • The asymptotic diagnostic performs well when the number of chains and categories is moderate, with Type I error rates close to nominal levels.
  • Both diagnostics show high power to detect non-convergence when the two segments of the chain are drawn from different models (i.e., low similarity).
  • The diagnostics correctly fail to reject the null of convergence when chains are from the same model, even under high autocorrelation.
  • The bootstrap diagnostic is computationally more intensive but more reliable in small samples, while the asymptotic version is faster but relies on large-sample approximations.
  • In the real data application to a finite mixture model, the diagnostics indicated convergence after a sufficient burn-in period, supporting reliable inference on the number of components.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.