blcfa: An R Package for Bayesian Model Modification in Confirmatory Factor Analysis

ABSTRACT In confirmatory factor analysis (CFA), post hoc model modification (PMM) indexes are often used to adjust for possible residual correlations between items. Although the approach is useful for improving model goodness-of-fit, it requires an iterative, one-item-pair-at-a-time procedure that can be tedious and prone to error. This paper provides a didactic discussion in the form of a tutorial of a more efficient and practical alternative and its implementation using an R-based package. The tutorial contains (1) the Bayesian covariance Lasso (least absolute shrinkage and selection operator) approach as an alternative to the PMM method, and (2) the R package blcfa, which implements the Bayesian covariance lasso and directly interfaces with Mplus. It adopts a two-step approach by first estimating the entire residual covariance matrix, and then identifying the nonzero entries and seamlessly feeding them into Mplus. Two examples were used to illustrate package implementation.

[1]  Sylvia Richardson,et al.  Inference and monitoring convergence , 1995 .

[2]  Xinyuan Song,et al.  Bayesian Adaptive Lasso for Ordinal Regression With Latent Variables , 2017 .

[3]  C.A.G.M. van Montfort,et al.  A review of structural equation models with non-normal variables , 1999 .

[4]  G. Casella,et al.  The Bayesian Lasso , 2008 .

[5]  Bengt Muthén,et al.  Bayesian Analysis Using Mplus: Technical Implementation , 2010 .

[6]  Hongtu Zhu,et al.  The Bayesian Covariance Lasso. , 2013, Statistics and its interface.

[7]  R. Tibshirani Regression Shrinkage and Selection via the Lasso , 1996 .

[8]  D. Sörbom Model modification , 1989 .

[9]  David Watkins,et al.  The Issue Of Measurement Invariance Revisited , 2003 .

[10]  H. Zou The Adaptive Lasso and Its Oracle Properties , 2006 .

[11]  B. Byrne Structural equation modeling with EQS : basic concepts, applications, and programming , 2000 .

[12]  Joshua F. Wiley,et al.  MplusAutomation: An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus , 2018, Structural equation modeling : a multidisciplinary journal.

[13]  Laurette Dubé,et al.  An alternative to post hoc model modification in confirmatory factor analysis: The Bayesian lasso. , 2017, Psychological methods.

[14]  Hao Wang,et al.  Bayesian Graphical Lasso Models and Efficient Posterior Computation , 2012 .

[15]  B. Muthén Bayesian Analysis In Mplus : A Brief Introduction , 2010 .

[16]  Hadley Wickham,et al.  Tools to Make Developing R Packages Easier [R package devtools version 2.3.2] , 2020 .