Bayesian Multiple Correspondence Analysis (BMCA)

Statistics
Introduced by
Extension of MCA (Benzecri, 1973) with Bayesian inference
Year
2000s–2010s
Type
Bayesian dimension reduction for categorical data
Family
Multivariate analysis

What does it do?

Bayesian Multiple Correspondence Analysis (BMCA) applies a probabilistic treatment to multiple correspondence analysis, a method that maps several categorical variables into a low-dimensional space in which category positions are estimated.

Instead of a single set of coordinates, the Bayesian version works with posterior distributions over those coordinates, which makes the uncertainty of each category's position explicit. Bayesian MCA is not tied to one standard formulation, so the description below covers the general structure of the approach rather than a specific published algorithm.

The intuition behind the method

Classical MCA maps categories into a low-dimensional plot so that categories that tend to occur together lie close to one another. The Bayesian version treats that map as the result of a probability model. Rather than reporting one set of coordinates per category, it reports a distribution of plausible coordinates, so a category with few observations or sparse cross-tabulations shows a wide spread. The same framework can in principle compare models with different numbers of dimensions, which offers a model-based alternative to reading the number of dimensions from a scree plot by eye.

History

Multiple correspondence analysis is usually attributed to Benzecri, whose work dates from 1973, and it was later popularised in English-language statistics by Greenacre. The Bayesian extension is part of the wider literature on Bayesian matrix factorisation and probabilistic dimension reduction for categorical data, and a specific originator and date for it are not stated here.

When to use it

Use Bayesian MCA when all variables are categorical (nominal or ordinal) and you want a low-dimensional association map together with uncertainty estimates for category positions. It is most relevant when the sample is small or the cross-tabulations are sparse, so that point estimates from classical MCA may be unstable, and when you want a model-based rather than visual rule for the number of dimensions. It is also a reasonable choice when you have substantive prior information about how categories should relate. Do not use it when the variables are continuous, since Bayesian PCA or Bayesian factor analysis fit that data type. Avoid it when the dataset is large enough that MCMC becomes impractical, or when a descriptive MCA map without uncertainty quantification answers the question.

Limitations and considerations

  • Model fitting is considerably more computationally demanding than classical MCA, and the cost grows with the number of categories and observations.
  • Coordinates from a low-rank factorisation are identified only up to rotation and reflection, so credible intervals for individual coordinates are not meaningful until draws are aligned to a common orientation. A common remedy is Procrustes alignment of each posterior draw to a stated reference configuration; the choice of reference should be reported.
  • Because the prior influences the posterior most when the data are sparse, the category map can be driven by prior choices in exactly the settings where Bayesian MCA is most often considered.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Each category position comes with a posterior distribution, so the map shows how precisely each category is located rather than presenting every point as equally certain.
  • Dimensionality can be compared through model evidence or Bayes factors, which gives a model-based basis for the choice instead of a purely visual reading of eigenvalue plots, subject to the computational and prior caveats below.
  • Informative priors can encode prior knowledge about category relationships, which is useful when the data alone are weak.
  • Priors on the coordinates shrink estimates toward the prior mean, which can stabilise category positions in sparse tables; the amount of shrinkage depends on the chosen prior.

Applications

  • Possible use in multi-item categorical questionnaires where some response combinations are rare and the stability of category positions is of interest.
  • Possible use in mapping co-occurrence of categorical clinical or risk-factor variables in studies with limited sample sizes.
  • Possible use in segmenting categorical customer or demographic profiles when the segments need uncertainty-aware positions in a shared map.
  • Possible use with sparse administrative or registry data, where classical MCA coordinates may be unstable and credible intervals help interpretation.

How it works

How it works

1

The analysis starts from a binary indicator matrix Z, in which each categorical variable is one-hot encoded. Each row is an observation, each column is a category level, and a cell equals 1 when the observation falls in that level and 0 otherwise. If there are n observations and J category levels in total across all p variables, Z has n rows and J columns, and the matrix records the full categorical profile of every observation.

Formula
\mathbf{Z} = [\mathbf{Z}_1 | \mathbf{Z}_2 | \cdots | \mathbf{Z}_p]
2

The Burt matrix B is the cross-product Z^T Z. It is a symmetric J by J block matrix: its off-diagonal blocks are the pairwise cross-tabulations of the variables, and its diagonal blocks are diagonal matrices of the marginal frequencies of each variable. Classical MCA works from a decomposition of a transformed version of Z or B. The indicator and Burt formulations can yield different eigenvalue scales, so the formulation used should be stated when results are compared.

Formula
\mathbf{B} = \mathbf{Z}^{\top}\mathbf{Z}
3

The Bayesian formulation places prior distributions on the coordinate parameters and on the dimensionality of the solution. Dirichlet priors are a common choice for cell probabilities because they are conjugate to multinomial counts. Gaussian or shrinkage priors may be placed on low-rank coordinates, and spike-and-slab or automatic relevance determination priors are one way to shrink uninformative dimensions toward zero. No single prior is prescribed here, so the prior must be chosen and justified for each analysis.

4

Posterior inference is typically carried out by Markov chain Monte Carlo (MCMC) or variational Bayes. Integrated nested Laplace approximations (INLA) apply only if the model is a latent Gaussian model, and the choice of method depends on the model and the data size. Each retained draw of the coordinates is one plausible configuration of the category map, and summaries of these draws give posterior means and credible intervals. Because the coordinates are identified only up to rotation and reflection, the draws must be aligned to a common orientation before these summaries are computed. Model comparison by marginal likelihood is principled but often hard to compute exactly, so approximations are usually needed in practice.

5

The output includes posterior summaries of category coordinates on the retained dimensions, credible intervals around those coordinates, and factor scores for each observation. Posterior predictive checks can be used to assess fit. Bayes factors or other model-evidence comparisons across different numbers of dimensions are one route to choosing the dimensionality, but the result is sensitive to the priors and to the approximation used. When reading the map, proximity between categories reflects association only after alignment to a common orientation, and overlapping credible intervals do not by themselves establish that two positions differ.

Common pitfalls

  • Using vague or improper priors in a small sample and then reading the posterior as if it came from the data alone. When data are sparse, the prior still shapes the result, so prior sensitivity should be checked.
  • Confusing Bayesian MCA with Bayesian latent class analysis. Bayesian MCA embeds categories and observations in a continuous low-dimensional space, whereas latent class analysis assigns observations to discrete latent classes.
  • Reporting only posterior means of the coordinates without credible intervals, which removes the main reason for using the Bayesian formulation.
  • Mixing up the indicator-matrix and Burt-matrix formulations. The choice can change the eigenvalue scale and the apparent variance explained, so Bayesian results should be reported with the formulation stated and should not be compared directly with classical MCA percentages without that check.

Frequently asked questions

How does Bayesian MCA differ from classical MCA?

Classical MCA gives one set of category coordinates from a deterministic decomposition and reports no measure of their uncertainty. Bayesian MCA models the same association structure probabilistically, so it returns a posterior distribution over coordinates, from which credible intervals can be computed and, in principle, models with different numbers of dimensions can be compared.

How does Bayesian MCA differ from Bayesian latent class analysis?

Bayesian latent class analysis assigns each observation to one of a set of discrete hidden classes and estimates class-specific category probabilities. Bayesian MCA does not assign observations to classes; it places categories and observations in a continuous low-dimensional space, keeping the geometric reading of correspondence analysis.

What software can I use for Bayesian MCA?

No standard, widely used implementation is established for Bayesian MCA. Classical MCA is available in standard statistical software, whereas a Bayesian version generally requires a custom probability model written in a probabilistic programming environment.

How do I choose the number of dimensions in Bayesian MCA?

One approach is to compare models with different numbers of retained dimensions using marginal likelihood or Bayes factors, which can be difficult to compute and often requires approximation. Spike-and-slab or automatic relevance determination priors on the dimension weights can also shrink unneeded dimensions toward zero, giving an implicit selection. Both routes are sensitive to the prior and to the approximation, so the selected dimensionality should be checked with a sensitivity analysis over alternative priors.

Is Bayesian MCA appropriate for ordinal variables?

Classical MCA treats every categorical variable as nominal and ignores the ordering of ordinal levels. If the order matters, consider methods designed for ordered categories, or a Bayesian model that encodes the ordering explicitly, for example through monotonicity constraints on category scores.

Related methods

Sources

  1. Greenacre, M. & Blasius, J. (Eds.) (2006). Multiple Correspondence Analysis and Related Methods. Chapman & Hall/CRC.

    ISBN: 978-1584886280
  2. Delattre, M., Lavielle, M. & Poursat, M.-A. (2014). A note on BIC in mixed-effects models. Electronic Journal of Statistics, 8(1), 456–475.

    Open DOI reference