-
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 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.
This version is available in KRAN. This version is required if users use lavaan 0.5-16. Contributed by Ed Merkle, the kd function is added to implement the Kaiser-Dickman (1962) algorithm for data generation. Contributed by Terry Jorgensen, the bsBootMiss function is added to implement the Bollen-Stine bootstrap with missing observations by the method proposed by Savalei and Yuan (2009). He also provided the net function to compare models whether they are equivalent or nested. This method is provided by Bentler and Satorra (2010). This version also fixes the problem of the auxiliary function that the output cannot be run by the parameterEstimates function. The runMI function provides an appropriate error when the number of convergent results across imputed data sets is not over 1.
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.
The development of semTools has been supported by the University of Kansas Center for Research Methods and Data Analysis.