Software lslx is an R package for fitting semi-confirmatory structural equation modeling (SEM) via penalized likelihood (PL) with lasso or minimax concave penalty (MCP) developed by Huang, Chen, and Weng (2017). In this semi-confirmatory method, an SEM model is distinguished into two parts: a confirmatory part and an exploratory part. The confirmatory part includes all of the freely estimated parameters and fixed parameters that are allowed for theory testing. The exploratory part is composed by a set of penalized parameters describing relationships that cannot be clearly determined by available substantive theory. By implementing a sparsity-inducing penalty and choosing an optimal penalty level, the relationships in the exploratory part can be efficiently determined by the sparsity pattern of these penalized parameters.

lslx can be also seen as a package for conducting usual SEM with several state-of-art inference methods, including sandwich standard error formula, mean-adjusted likelihood ratio test, and two stage method with auxiliary variables for missing data. lslx also supports multi-group analysis for evaluating group heterogeneity (Huang, 2018), penalized least squares for SEM with ordinal data under delta parameterization, and several valid postselection inference methods (Huang, 2019).

lslx can be downloaded from either its CRAN Repository or GitHub.

To learn the use of lslx, please read the JSS paper. GitHub Wiki is also useful to learn lslx. Several examples can be found in Tutorial. A simple comparison of packages for SEM with PL, including lslx, lsl, and regsem, is described in Comparison