- Introduced by
- Sik-Yum Lee; Bengt Muthén and Tihomir Asparouhov
- Year
- 2007–2012
- Type
- Bayesian latent variable model
- Family
- Scale / measurement
What does it do?
Bayesian confirmatory factor analysis tests a pre-specified factor structure within a Bayesian framework.
In place of a single maximum-likelihood solution and a chi-square test, it yields posterior distributions for loadings, factor correlations and residual variances, and assesses model fit with posterior predictive p-values. Prior knowledge can be incorporated, and parameter uncertainty is carried through the analysis.
The intuition behind the method
Classical CFA fixes a factor pattern in advance and asks whether the data are consistent with it, using a chi-square test and fit indices. BCFA keeps the same structural specification, in which items are assigned to factors before estimation, but replaces the frequentist likelihood test with Bayesian updating. Each parameter receives a prior distribution encoding what is plausible before seeing the data, and the data shift that prior into a posterior. Uncertainty about loadings, factor correlations and fit is therefore expressed as a probability distribution rather than a single estimate. Muthén and Asparouhov (2012) proposed replacing exact-zero specifications with approximate zeros based on informative, small-variance priors, and illustrated this for cross-loadings and residual correlations in confirmatory factor analysis.
History
Sik-Yum Lee's 2007 monograph, Structural Equation Modeling: A Bayesian Approach, is a book-length treatment of Bayesian structural equation modelling and is cited here as a general reference for that framework. Muthén and Asparouhov (2012) extended Bayesian SEM by replacing exact-zero specifications with approximate zeros based on informative, small-variance priors. They illustrated the approach with Mplus analyses of Monte Carlo simulations and real data, including cross-loadings and residual correlations in confirmatory factor analysis.
When to use it
Choose BCFA when a factor structure is theoretically motivated in advance and relevant prior information, for example from earlier validation studies, can be encoded directly, or when the sample is small enough that frequentist estimates are unstable. It also suits situations in which classical CFA shows approximate misfit that could reflect small cross-loadings or residual correlations, which approximate-zero priors can absorb, and where interval estimates that respect parameter bounds are wanted. Do not use BCFA to discover an unknown structure: it is a confirmatory tool that requires an a priori pattern, so exploratory factor analysis is the appropriate starting point. Avoid it when priors cannot be justified, because a poorly justified prior can dominate the posterior, particularly in small samples.
Limitations and considerations
- Results depend on prior specification; different reasonable priors can yield noticeably different posteriors, especially in small samples.
- MCMC estimation is computationally intensive and requires convergence diagnosis, which adds work compared with maximum-likelihood CFA.
- Posterior predictive p-values are less familiar to applied readers than RMSEA or CFI, which makes fit results harder to communicate.
- Software options (Stan, Mplus BAYES, blavaan, JAGS) generally require more technical setup than standard CFA in lavaan or AMOS.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Produces full posterior distributions for all parameters, allowing probability statements about factor loadings and model fit.
- Informative priors can stabilise estimates when samples are small by adding information beyond the likelihood.
- Approximate-zero priors on cross-loadings allow substantively motivated, partly relaxed structures that classical CFA cannot represent without ad hoc modification.
- Parameter uncertainty propagates naturally into downstream analyses such as latent factor scores or mediation models.
- Permits formal Bayesian model comparison across competing factor structures using DIC, WAIC or Bayes factors.
Applications
- Validation of psychological and educational measurement instruments with small clinical or specialist samples where frequentist CFA yields unstable estimates.
- Measurement models in which cross-loadings or residual correlations are plausible but not fully specified, using approximate-zero priors in place of exact-zero constraints, as in the applications of Muthén and Asparouhov (2012).
- Re-analysis of established measurement datasets, illustrated by Muthén and Asparouhov (2012) with Holzinger and Swineford's (1939) mental abilities data, Big Five personality data and science achievement data from the National Educational Longitudinal Study of 1988.
- Psychiatric and neuropsychological assessment where prior information from previous instrument versions can be formally encoded.
- Health outcomes research requiring factor score estimates with full uncertainty quantification for use in subsequent regression analyses.
How it works
How it works
This is the same measurement equation used in frequentist CFA: each item vector x_i is a linear function of latent factor scores eta_i through the loading matrix Lambda, plus a residual epsilon_i. The factor scores follow a multivariate normal distribution with covariance Phi, which encodes the correlations among factors, and the residuals follow a normal distribution with covariance Psi. For mean-centred indicators, integrating out the factor scores gives x_i ~ N(0, Lambda Phi Lambda' + Psi), and this marginal distribution defines the likelihood of the data given all model parameters. The model requires an identification constraint that fixes the scale of each factor, either by fixing one loading per factor to 1 or by fixing factor variances to 1. Residual correlations are assumed to be zero unless they are explicitly modelled. Muthén and Asparouhov (2012) note that parameters added to a conventional model in this way can produce a non-identified model under maximum-likelihood estimation, which is one reason approximate-zero priors are useful.
Formula
\mathbf{x}_i = \boldsymbol{\Lambda}\boldsymbol{\eta}_i + \boldsymbol{\varepsilon}_i,\quad \boldsymbol{\varepsilon}_i \sim \mathcal{N}(\mathbf{0}, \boldsymbol{\Psi})Before the data are seen, each free parameter receives a prior distribution that summarises substantive knowledge or encodes minimal assumptions. Loadings fixed to zero in the target pattern may instead receive tight priors centred on zero; this approximate-zero device is the central idea of Muthén and Asparouhov (2012), which replaces exact-zero constraints. The factor correlation matrix Phi and the residual variances in Psi receive priors suited to covariance structures, such as inverse-Wishart or LKJ priors for Phi and inverse-gamma or half-normal priors for the residual variances.
Formula
p(\boldsymbol{\Lambda}, \boldsymbol{\Phi}, \boldsymbol{\Psi}) = p(\boldsymbol{\Lambda})\,p(\boldsymbol{\Phi})\,p(\boldsymbol{\Psi})Bayes' theorem combines the likelihood with the priors to give the joint posterior distribution of all free parameters. For models of this kind the posterior generally has no closed form, so it is explored by Markov chain Monte Carlo (MCMC) sampling, for example with a Gibbs sampler or Hamiltonian Monte Carlo. Posterior means or medians and credible intervals are then computed from the sampled draws.
Formula
p(\boldsymbol{\Lambda}, \boldsymbol{\Phi}, \boldsymbol{\Psi} \mid \mathbf{X}) \propto p(\mathbf{X} \mid \boldsymbol{\Lambda}, \boldsymbol{\Phi}, \boldsymbol{\Psi})\,p(\boldsymbol{\Lambda})\,p(\boldsymbol{\Phi})\,p(\boldsymbol{\Psi})Chains must be checked for convergence before results are interpreted. Several chains should be run from dispersed starting values. Common diagnostics are the Gelman-Rubin R-hat statistic, where values close to 1.00 indicate agreement across chains, and the working threshold used should be stated in the report; trace plots that show the chains mixing freely around a stable distribution; and effective sample size, which must be large enough for stable posterior summaries.
Fit is assessed differently from classical CFA. Posterior predictive checking compares an observed chi-square discrepancy with discrepancies replicated from the posterior, giving a posterior predictive p-value (PPP). Muthén and Asparouhov (2012) describe this approach to model testing. A PPP near 0.50 is commonly taken to indicate adequate fit, whereas very small values indicate misfit. Any cut-off used is a convention rather than a rule, and its sensitivity to sample size and prior choice should be examined. Information criteria such as DIC or WAIC can compare competing factor structures, while Bayes factors give formal model comparison but are sensitive to prior specification.
Common pitfalls
- Declaring convergence without checking R-hat, trace plots and effective sample size; chains that appear stationary can still be non-converged in high-dimensional models.
- Using diffuse non-informative priors on cross-loadings and then interpreting the result as approximate structure; this blurs the line between BCFA and Bayesian EFA.
- Ignoring prior sensitivity: reporting results from a single prior specification without checking whether conclusions hold under plausible alternative priors.
- Treating a good PPP as proof that the factor structure is correct; PPP depends on sample size and prior choice and does not establish that the specified structure is uniquely best.
- Applying BCFA to ordinal Likert items without an appropriate ordinal likelihood or a polychoric-correlation-based formulation.
Frequently asked questions
How does BCFA differ from standard CFA?
Both test a pre-specified factor structure, but standard CFA uses maximum likelihood or weighted least squares and reports chi-square fit statistics and indices such as RMSEA and CFI. BCFA uses Bayesian inference to produce posterior distributions for every parameter, allows prior knowledge to be incorporated, and assesses fit via posterior predictive p-values or information criteria. BCFA is also more flexible: approximate-zero priors on cross-loadings relax the strict zero constraint of standard CFA.
What priors should I use for factor loadings?
Free (target) loadings can receive a normal prior centred on a plausible value when prior literature indicates the approximate size of the loading, or a weakly informative normal prior when no prior knowledge is available. Cross-loadings fixed to zero in standard CFA can instead receive a tight prior centred on zero, which is the approximate-zero approach: it allows small cross-loadings while penalising large ones. State explicitly whether the prior's spread is given as a variance or a standard deviation, since the choice changes the strength of the prior. Prior sensitivity analysis is always recommended.
What sample size does BCFA require?
BCFA can be more stable than frequentist CFA in small samples when informative priors are used, but it does not remove small-sample problems. With purely diffuse priors the posterior is dominated by the likelihood and behaves much like ML-CFA. The adequate sample size depends on model complexity and prior quality, and is best assessed through prior sensitivity analysis or a simulation study for the specific model rather than a fixed rule.
Which software supports BCFA?
Mplus (BAYES estimator) was the software used for the analyses in Muthén and Asparouhov (2012). Stan (via rstan or CmdStan) offers flexibility for custom model extensions. The R package blavaan provides a Bayesian extension of lavaan with a familiar syntax, and JAGS can also be used to fit Bayesian latent variable models.
How should I report BCFA results?
Report the prior specification for every free parameter with a justification. Provide MCMC convergence diagnostics (R-hat values, effective sample size and trace plots, which may go in supplementary material). Report posterior means or medians and 95% credible intervals for factor loadings, factor correlations and residual variances. Describe model fit using posterior predictive p-values and, when models are compared, DIC or WAIC differences. The posterior predictive checking approach is described in Muthén and Asparouhov (2012).
Related methods
Sources
Lee, S.-Y. (2007). Structural Equation Modeling: A Bayesian Approach. Wiley.
ISBN: 978-0470024232Muthén, B. & Asparouhov, T. (2012). Bayesian structural equation modeling: A more flexible representation of substantive theory. Psychological Methods, 17(3), 313–335.
Open DOI reference