Skip to contents
BayesianEFA 0.1.0
Features
- Bayesian Exploratory Factor Analysis via Hamiltonian Monte Carlo (Stan).
- Three model parameterizations: correlation (
"cor"), covariance ("cov"), and full unstandardized ("raw").
- Unit-vector prior for factor loadings ensuring valid variance partitioning and Heywood case prevention (Rey-Sáez et al., 2025).
- RSP alignment algorithm with Varimax rotation for resolving rotational indeterminacy across MCMC draws.
- Full Information Maximum Likelihood (FIML) for missing data handling.
- Bayesian fit indices: BRMSEA, BCFI, BTLI, SRMR, Chi-squared with posterior predictive p-value, and PSIS-LOO cross-validation.
- Omega reliability coefficients (total and subscale) with full posterior uncertainty quantification.
- Bayesian factor scores with posterior distributions.
- Dual backend support:
rstan and cmdstanr.
- Efficient C++ implementations (RcppArmadillo) for the RSP algorithm and factor score computation.