# semopy: A Python package for Structural Equation Modeling

**Authors:** Meshcheryakov Georgy, Igolkina Anna

arXiv: 1905.09376 · 2021-06-02

## TL;DR

semopy is a Python package for Structural Equation Modeling that offers faster execution and higher accuracy than existing tools like lavaan, facilitating integration into modern data analysis pipelines.

## Contribution

The paper introduces semopy, a new open-source Python package for SEM, with a unique model generator and improved performance over existing R-based tools.

## Key findings

- semopy outperforms lavaan in execution time
- semopy achieves higher accuracy in SEM estimation
- The package includes extensive usage examples and a model generator

## Abstract

Structural equation modelling (SEM) is a multivariate statistical technique for estimating complex relationships between observed and latent variables. Although numerous SEM packages exist, each of them has limitations. Some packages are not free or open-source; the most popular package not having this disadvantage is $\textbf{lavaan}$, but it is written in R language, which is behind current mainstream tendencies that make it harder to be incorporated into developmental pipelines (i.e. bioinformatical ones). Thus we developed the Python package $\textbf{semopy}$ to satisfy those criteria. The paper provides detailed examples of package usage and explains it's inner clockworks. Moreover, we developed the unique generator of SEM models to extensively test SEM packages and demonstrated that $\textbf{semopy}$ significantly outperforms $\textbf{lavaan}$ in execution time and accuracy.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1905.09376/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/1905.09376/full.md

## References

32 references — full list in the complete paper: https://tomesphere.com/paper/1905.09376/full.md

---
Source: https://tomesphere.com/paper/1905.09376