- Introduced by
- Lopes & West (seminal Bayesian treatment); roots in classical factor analysis (Spearman, 1904)
- Year
- 2004 (Bayesian formulation); factor analysis roots: 1904
- Type
- Probabilistic latent variable model
- Family
- Scale / measurement
What does it do?
Bayesian exploratory factor analysis applies a full probabilistic framework to the common factor model.
By placing prior distributions over factor loadings and unique variances, it yields posterior distributions rather than point estimates, quantifies uncertainty around every loading, and can treat the number of factors as an unknown to be inferred from data.
The intuition behind the method
Classical EFA returns one loading matrix, with standard errors derived from asymptotic theory for that solution. Bayesian EFA instead returns a probability distribution over loading matrices, combining the likelihood with priors specified before the data are seen. In small or noisy samples, the width of the posterior for each loading shows how strongly the data and prior together constrain that loading, which can temper conclusions that a single point estimate would suggest. Shrinkage priors pull weakly supported loadings toward zero; the resulting posterior shows how strongly the combined prior and data constrain each loading.
History
Bayesian factor analysis builds on classical factor analysis, whose roots lie in Spearman (1904). Lopes and West (2004) addressed model assessment in Bayesian factor analysis. Ghosh and Dunson (2009) proposed a default, heavy-tailed prior specification induced through parameter expansion, motivated by the poor behaviour of conditionally conjugate normal and inverse-gamma priors, and also developed an approach that allows for uncertainty in the number of factors.
When to use it
Choose Bayesian EFA when you need uncertainty quantification around factor loadings, for instance in small samples where classical standard errors are less reliable, or when substantive prior information is available to encode. It is also suited to situations where the number of factors is unclear and you want the data, under explicit priors, to inform that choice. The method as described here covers continuous or ordinal items; binary items require a categorical extension or a dichotomous IRT model, which this page does not cover. Do not use it when a quick, reproducible output is the main requirement: MCMC needs convergence diagnosis and more statistical expertise to specify and interpret than a standard EFA. It is also the wrong choice if the goal is to test a pre-specified structure, in which case Bayesian CFA is appropriate.
Limitations and considerations
- MCMC estimation is computationally expensive and requires long chains and convergence monitoring before results can be read.
- Prior specification is consequential: in small samples, different priors on loadings or unique variances can noticeably change the posterior.
- Rotational indeterminacy remains and must be addressed post hoc or through identifiability constraints in the prior.
- Interpreting the output requires understanding of posterior distributions, credible intervals and MCMC diagnostics, which many applied researchers have not been trained in.
- Software support is less standardised than for classical EFA, and implementations typically require more setup than a single standard function call.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Yields a posterior distribution for each loading, so uncertainty is reported as credible intervals rather than a single estimate with asymptotic standard errors.
- Allows uncertainty about the number of factors to be carried through model comparison rather than fixed by a decision before rotation.
- Shrinkage priors pull weak loadings toward zero, which can reduce spurious cross-loadings in small samples when the prior is chosen with care.
- Posterior predictive checks give a model-based way to assess and compare competing factor solutions.
Applications
- Scale development with small pilot samples, where loading estimates from classical EFA may carry substantial uncertainty.
- Clinical measurement studies that need to report uncertainty around subscale loadings.
- Personality and attitude research in which results from earlier studies are encoded as informative priors.
- Cross-group measurement studies in which structural uncertainty should be carried through when comparing factor solutions.
- High-dimensional item banks in which automatic shrinkage of weak loadings is useful.
How it works
How it works
The common factor model expresses each observed item vector x_i as a linear combination of k latent factors through the loading matrix Lambda, plus item-specific Gaussian error with diagonal covariance Psi. This likelihood is identical to classical EFA; the Bayesian distinction lies in what comes next.
Formula
\mathbf{x}_i = \boldsymbol{\Lambda}\mathbf{f}_i + \boldsymbol{\varepsilon}_i,\quad \boldsymbol{\varepsilon}_i \sim \mathcal{N}(\mathbf{0}, \boldsymbol{\Psi})Prior distributions are placed on all unknown parameters. Factor scores f_i receive a standard normal prior. The loading matrix Lambda receives a prior that regularises the solution, commonly a hierarchical shrinkage prior that pulls small loadings toward zero, or a truncated prior on a lower triangular matrix to impose identifiability. Residual (unique) variances in Psi are often given inverse-gamma priors; Ghosh and Dunson (2009) note that these conditionally conjugate choices require many hyperparameters, can lead to poorly behaved Gibbs samplers, and, if given high variance, face an improper posterior. They propose a default heavy-tailed alternative induced through parameter expansion.
Formula
\boldsymbol{\Lambda} \sim p(\boldsymbol{\Lambda}),\quad \mathbf{f}_i \sim \mathcal{N}(\mathbf{0}, \mathbf{I})Bayes' theorem combines the likelihood with the priors to give a joint posterior over loadings, unique variances and latent factor scores, including the standard normal prior on the scores. This posterior has no closed form, so estimation usually relies on Markov chain Monte Carlo sampling, most often Gibbs sampling or Hamiltonian Monte Carlo. Each retained draw is one complete set of parameter values; posterior means summarise the draws, and the spread of draws gives credible intervals. Before interpreting these summaries, run multiple chains, inspect trace plots, and confirm that R-hat is close to 1 and that effective sample sizes are adequate.
Formula
p(\boldsymbol{\Lambda}, \boldsymbol{\Psi}, \mathbf{F} \mid \mathbf{X}) \propto p(\mathbf{X} \mid \boldsymbol{\Lambda}, \boldsymbol{\Psi}, \mathbf{F})\, p(\mathbf{F})\, p(\boldsymbol{\Lambda})\, p(\boldsymbol{\Psi})In Bayesian EFA the number of factors k can be treated as uncertain rather than fixed before analysis. Competing values of k can be compared with criteria such as the deviance information criterion (DIC) or the widely applicable information criterion (WAIC), or a reversible-jump MCMC step can move between values of k during sampling. Ghosh and Dunson (2009) develop an approach that allows uncertainty in the number of factors; consult the paper for the specific procedure. In classical EFA, k is typically fixed before rotation.
Loadings are subject to rotational indeterminacy: an orthogonal rotation of a factor solution fits the data equally well. Each posterior draw therefore needs post-hoc alignment, such as a varimax or oblique rotation applied draw by draw, or an identifiability constraint that selects a representative solution, before factors are interpreted. Under orthogonal rotation, communalities and model fit are unchanged; what changes is the pattern of loadings that is easiest to interpret.
Common pitfalls
- Neglecting MCMC convergence checks: poor mixing yields a posterior that does not reflect the true distribution and can produce arbitrary loading estimates.
- Using diffuse, uninformative priors on all parameters and then treating the Bayesian results as automatically superior to classical EFA — diffuse priors on loadings add little beyond a likelihood analysis and do not deliver the shrinkage benefits that motivate Bayesian EFA.
- Ignoring rotational indeterminacy and interpreting raw MCMC draws as a unique solution without applying a post-hoc alignment or identifiability constraint.
- Conflating Bayesian EFA with Bayesian CFA: BEFA is still exploratory and should not be used to test a pre-specified structure.
- Treating a credible interval that excludes zero as confirmatory evidence of a loading in a strictly confirmatory sense — Bayesian EFA remains an exploratory tool.
Frequently asked questions
Is Bayesian EFA the same as classical EFA with uncertainty bounds?
Not quite. Classical EFA produces standard errors from asymptotic theory and is sensitive to distributional assumptions at small n. Bayesian EFA produces credible intervals from the actual posterior distribution, incorporates prior information, and can treat the number of factors as uncertain. In large samples with well-behaved data the numerical results are often similar, but the inferential logic and small-sample behaviour differ.
How do I choose a prior for the loading matrix?
Shrinkage priors that pull weakly supported loadings toward zero are commonly used, and Ghosh and Dunson (2009) propose a default heavy-tailed prior induced through parameter expansion. Check the original literature for any specific shrinkage prior before relying on it. For identifiability, a lower-triangular structure is often used. If you have genuine prior knowledge from a pilot study, an informative normal prior on specific loadings is defensible. Avoid entirely diffuse priors on loadings, which can make the posterior improper or add little beyond the likelihood. Report a prior sensitivity analysis comparing at least two alternative prior specifications for the loadings and unique variances.
How many factors does Bayesian EFA select?
Models with different fixed k can be compared using DIC or WAIC, or a reversible-jump scheme can move between values of k during sampling. With a shrinkage prior, one may also examine how many columns of the loading matrix have loadings clearly away from zero. Because k is then uncertain, the analysis can report how much support each candidate number of factors receives instead of a single choice.
When should I use Bayesian CFA rather than Bayesian EFA?
Use Bayesian CFA when you have a pre-specified factor structure, for example from prior literature or a previous EFA study, and want to test how well it fits while quantifying parameter uncertainty. Use Bayesian EFA when the structure is genuinely unknown and you want the data, regularised by priors, to reveal it.
Does Bayesian EFA work with ordinal items?
Ordinal items can be handled with an ordinal probit extension that places the factor model on latent continuous responses underlying the categories. This is computationally heavier; check implementation details in the methodological literature before use.
Related methods
Sources
Lopes, H. F. & West, M. (2004). Bayesian model assessment in factor analysis. Statistica Sinica, 14(1), 41–67.
Open publication referenceGhosh, J. & Dunson, D. B. (2009). Default prior distributions and efficient posterior computation in Bayesian factor analysis. Journal of Computational and Graphical Statistics, 18(2), 306–320.
Open DOI reference