-
Notifications
You must be signed in to change notification settings - Fork 36
Home
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.
This version is available in CRAN and KRAN. Many new features were introduced in this version.
- The quark function is designed to implement the principal component method to reduce the number of auxiliary variables in missing data handling.
- Effect size measures for partial invariance are added in the partialInvariance and partialInvarianceCat functions. The details of effect size measures can be found by typing
vignette("partialInvariance")
- reliability can find the reliability for categorical indicators using Green and Yang's (2009) method.
- The maximalRelia function is designed to find maximal reliability of a composite score.
- The mvrnonnorm function is designed to have similar feature to the mvrnorm function in MASS package but creates nonnormal distribution. This is simply a short cut to the simulateData in lavaan package when users have population means and covariance in a matrix format.
- Bug fixes for auxiliary and NET.
This version is available in KRAN. The measurementInvarianceCat function is available for automatically implementing measurement invariance for categorical indicators. The partialInvariance and partialInvarianceCat functions are also available to easily find partial invariance models. Click here for the detailed explanation of how these functions work. The singleParamTest function is added to run a post-hoc analysis after nested model comparison to find the constraint (with 1 df) that makes nested models different. The SSpower function is added to implement the power analysis using Satorra and Bentler's (1985) method. The averaged variance extracted (AVE) is available in the reliability function. The fixed factor method of scale identification is available in the measurementInvariance function by specifying std.lv=TRUE. Note that this version of semTools is not available on CRAN because we are using hidden functions in lavaan. When this issue is fixed, we will update it on CRAN.
Everyone is invited to be a developer! Here is the list of current developers.
Patrick Miller
[Alexander Schoemann] (https://sites.google.com/site/alexandermschoemann/home)
The project is still under development. The package can be installed by copying this line into the R program:
install.packages("semTools")
If you are interested in the source code, please click the code tab. You may install the testing recently developed version from KRAN (KU R Archive Network) by 1) making sure you have the lavaan
package in your personal library and 2) copying this line into R program:
install.packages("semTools", repos="http://rweb.quant.ku.edu/kran", type="source")
Some functions require the OpenMx
package. This package is not available on CRAN. Please follow this link to see the download instruction.
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-6. Retrived from http://cran.r-project.org/web/packages/semTools/index.html
The development of semTools has been supported by the University of Kansas Center for Research Methods and Data Analysis.