semopy: A Python Package for Structural Equation Modeling
Open accessThe DOI matches its Crossref record; 14 of the 14 references it cites were found in a registry or an index.
Abstract
Structural equation modeling (SEM) is a multivariate statistical technique for estimating complex relationships between observed and latent variables. Although numerous SEM packages currently exist, they each have limitations and more importantly they are not free or open-source. The only package that is both free and open-source is lavaan. However, because this package is written in R, it is often difficult to integrate it with other programming language functionalities. This paper provides an overview of a new Python package called semopy that was specifically developed to overcome these limitations. Using illustrative examples we introduce the new package and then compare its performance in accuracy and execution time to lavaan.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Hu, L., & Bentler, P. M. (1999) · Structural Equation Modeling A Multidisciplinary Journal · doi:10.1080/10705519909540118 · Cited by 108,788 · cited 1×
“The semopy supports numerous fit indices: χ 2 , RMSEA, CFI, TLI, NFI GFI, AGFI [20, 17].”
lavaan : An R Package for Structural Equation Modeling
Rosseel, Y. (2012) · Journal of Statistical Software · doi:10.18637/jss.v048.i02 · Cited by 27,955
Structural Equations with Latent Variables
Bollen, K. A. (1989) · Wiley series in probability and statistics · doi:10.1002/9781118619179 · Cited by 17,277
An overview of gradient descent optimization algorithms
Ruder, S. (2016) · arXiv · doi:10.48550/arxiv.1609.04747 · Cited by 4,962
Algorithm 778: L-BFGS-B: Fortran subroutines for large-scale bound-constrained optimization
Zhu, C., Byrd, R. H., Lu, P., & Nocedal, J. (1997) · ACM Transactions on Mathematical Software · doi:10.1145/279232.279236 · Cited by 3,462
A General Approach to Confirmatory Maximum Likelihood Factor Analysis
Jöreskog, K. G. (1969) · Psychometrika · doi:10.1007/bf02289343 · Cited by 2,489
Structural Equation Modeling and Natural Systems
Grace, J. B. (2006) · doi:10.1017/cbo9780511617799 · Cited by 2,432 · cited 1×
“1 Why do we need semopy? Nowadays SEM is widely used in the fields of economics, psychology, sociology and bioinformatics [18, 28, 15] and there is a number of software working with SEM models.”
MethodOpenMx 2.0: Extended Structural Equation and Statistical Modeling
Neale, M. C., Hunter, M. D., Pritikin, J. N., Zahery, M., Brick, T. R., Kirkpatrick, R. M., Estabrook, R., Bates, T. C., Maes, H. H., & Boker, S. M. (2016) · Psychometrika · doi:10.1007/s11336-014-9435-8 · Cited by 1,100 · cited 1×
“OpenMx [26], sem [8], lavaan are free and open-source popular CRAN packages, but they are all written in R.”
Maximum likelihood estimation of models for residual covariance in spatial regression
MARDIA, K. V., & MARSHALL, R. J. (1984) · Biometrika · doi:10.1093/biomet/71.1.135 · Cited by 851
Algorithm 733: TOMP–Fortran modules for optimal control calculations
Kraft, D. (1994) · ACM Transactions on Mathematical Software · doi:10.1145/192115.192124 · Cited by 413 · cited 1×
“…The full list of available optimisation methods is the following: • SLSQP – SLSQP (Sequential Least-Squares Quadratic Programming) method [21, 22] from scipy ; • L-BFGS-B – L-BFGS-B (Broyden Fletcher Goldfarb Shanno, limited memory) method [27, 32] from scipy ; • Portmin – FORTRAN PORT…”
Algorithm 611: Subroutines for Unconstrained Minimization Using a Model/Trust-Region Approach
Gay, D. M. (1983) · ACM Transactions on Mathematical Software · doi:10.1145/356056.356066 · Cited by 322
Polychoric and Polyserial Correlations
Drasgow, F. (2005) · Encyclopedia of Statistical Sciences · doi:10.1002/0471667196.ess2014.pub2 · Cited by 235 · cited 1×
“Presence of ordinal variables makes the sample covariance matrix S ”het-erogenous”, i.e. containing polychoric (in-between ordinal) and polyserial (be-tween ordinal and continuous variables) correlations [7] .”
Jőreskog, K. G., & van Thiilo, M. (1972) · ETS Research Bulletin Series · doi:10.1002/j.2333-8504.1972.tb00827.x · Cited by 219 · cited 1×
“Forinstance, LISREL [9], Mplus [25] and EQS [1] are proprietary and commercial softwares, hence, any adjustments to them to satisfy researchers needs are not possible.”
Analysis of Gene Expression Variance in Schizophrenia Using Structural Equation Modeling
Igolkina, A., Armoskus, C., Newman, J. R. B., Evgrafov, O., Mcintyre, L., Nuzhdin, S., & Samsonova, M. (2018) · Frontiers in Molecular Neuroscience · doi:10.3389/fnmol.2018.00192 · Cited by 20 · cited 1×
“Nowadays SEM is widely used in the fields of economics, psychology, sociology and bioinformatics [18, 28, 15] and there is a number of software working with SEM models.”
Self-citation
Cited by
Bewersdorff, A., Hornberger, M., Nerdel, C., & Schiff, D. S. (2025) · Computers and Education: Artificial Intelligence · doi:10.1016/j.caeai.2024.100340 · Cited by 148
Shojaei, S. A., Armosh, F., Lihe, R., Hamacha, R., & Labib, J. (2026) · Frontiers in Education · doi:10.3389/feduc.2026.1885990 · Cited by 2
Metadata
- Authors
- Igolkina, A. A., & Meshcheryakov, G.
- Venue
- Structural Equation Modeling: A Multidisciplinary Journal
- Publisher
- Informa UK Limited
- Published
- 2020-02-18
- Volume
- 27
- Issue
- 6
- Pages
- 952-963
- ISSN
- 1070-5511 (ISSN-L)
- 1532-8007
- OpenAlex
- W2946338602
- Cited by
- 168
- References
- 14
- Type
- software paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.