Skip to content


Sunthud Pornprasertmanit edited this page · 63 revisions

semTools: Useful tools for structural equation modeling

The goal of this package is to collect useful functions for structural equation modeling in a single, easily accessible place. Everyone is invited to send functions to us and we will maintain the functions for you. Click here for the list of all current functionality of this package and the near future development.


[June 29, 2015] Latest Update: semTools, Version 0.4-9

This version is available in CRAN. The lavaan package changes how it handles equality constraints. This version changes some functions in order to make it compatible with lavaan version 0.5-18 or higher. Furthermore, permuteMeasEq function is introduced to find the null hypothesis distribution of fit indices in measurement invariance across groups using the permutation method. Thanks to Terry Jorgensen for this contribution. spatialCorrect function is also introduced to correct standard errors in the presence of spatial autocorrelation using Moran's I. Thanks to Jarrett Byrnes for this contribution.

[December 3, 2014] Latest Update: semTools, Version 0.4-7

This version is available in KRAN. The OpenMx features were updated to be compatible with version 2.0. We do not guarantee the backward compatibility so some codes in the older version may not work. We also fix the bug in runMI when categorical indicators and exogenous covariates were used simultaneously.


Everyone is invited to be a developer! Here is the list of current developers.


Sunthud Pornprasertmanit

Patrick Miller

Alexander Schoemann


The project is still under development. The package can be installed by copying this line into the R program:


If you are interested in the source code, please click the code tab. You may install the recently developed test version by downloading the latest version from the following link into the current R directory:


Make sure that you have the lavaan package in your personal library and then copy the following line into R:

install.packages("simsem_latestVersion.tar.gz", repos = NULL, type = "source")

Note that latestVersion is the appropriate number of the latest version. For example, "semTools_0.4-9.tar.gz" is used.

Please report any bugs or give me any suggestions by email.


We think that the development of the package is a collaborative work. The maintainers cannot take the credits of others' contributions. If it is possible to cite a paper working on the development of the function, please cite it. Otherwise, please use the following citation:

semTools Contributors. (2014). semTools: Useful tools for structural equation modeling. R package version 0.4-9. Retrived from


Version History


The development of semTools has been supported by the University of Kansas Center for Research Methods and Data Analysis.

Something went wrong with that request. Please try again.