cvsem
SEM Model Comparison with K-Fold Cross-Validation
The goal of 'cvsem' is to provide functions that allow for comparing Structural Equation Models (SEM) using cross-validation. Users can specify multiple SEMs using 'lavaan' syntax. 'cvsem' computes the Kullback Leibler (KL) Divergence between 1) the model implied covariance matrix estimated from the training data and 2) the sample covariance matrix estimated from the test data described in Cudeck, Robert & Browne (1983) doi:10.18637/jss.v048.i02. The KL Divergence is computed for each of the specified SEMs allowing for the models to be compared based on their prediction errors.
- Version1.0.0
- R versionunknown
- LicenseGPL (≥ 3)
- Needs compilation?No
- Last release08/13/2022
Documentation
Team
Anna Wysocki
Philippe Rast
Show author detailsRolesAuthorDanielle Siegel
Show author detailsRolesAuthorCameron allen
Show author detailsRolesAuthor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Imports2 packages
- Suggests1 package