(Bifactor) ESEM with Continuous (MLR) or Ordinal (WLSMV) Data

Fits bifactor exploratory structural equation models (B-ESEM), together with standard exploratory structural equation modeling (ESEM) and confirmatory factor analysis (CFA), for continuous and ordinal data. Continuous models use 'lavaan' native efa() blocks with robust maximum likelihood (MLR) estimation. Ordinal ESEM defaults to the 'lavaan' weighted least squares mean- and variance-adjusted (WLSMV) estimator; ordinal B-ESEM uses a custom diagonally weighted least squares (DWLS) path with polychoric correlations from 'psych', rotation-delta standard errors via 'numDeriv', and a mean- and variance-adjusted chi-square. Target, geomin, and oblimin rotations use 'GPArotation'; the bifactor ESEM approach follows Morin, Arens and Marsh (2016) . Additional features include multi-group measurement invariance (configural through strict, with partial invariance), ESEM-within-CFA conversion, McDonald's omega reliability suite, and the Mehrvarz and Rouder (2026) alignment ratio check for independent cluster model confirmatory factor analysis (ICM-CFA) misspecification. An optional 'MplusAutomation' interface allows side-by-side comparison with 'Mplus' output.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bifactory")

0.6.0 by Leon T. De Beer, a month ago


https://github.com/leondebeer/bifactory


Report a bug at https://github.com/leondebeer/bifactory/issues


Browse source code at https://github.com/cran/bifactory


Authors: Leon T. De Beer [aut, cre]


Documentation:   PDF Manual  


AGPL-3 license


Imports lavaan, GPArotation, psych, MASS, numDeriv, stats, utils, graphics, methods, parallel, withr

Suggests MplusAutomation, openxlsx2, pkgload, testthat


See at CRAN