Package: cvsem 1.0.0
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.
Authors:
cvsem_1.0.0.tar.gz
cvsem_1.0.0.zip(r-4.5)cvsem_1.0.0.zip(r-4.4)cvsem_1.0.0.zip(r-4.3)
cvsem_1.0.0.tgz(r-4.5-any)cvsem_1.0.0.tgz(r-4.4-any)cvsem_1.0.0.tgz(r-4.3-any)
cvsem_1.0.0.tar.gz(r-4.5-noble)cvsem_1.0.0.tar.gz(r-4.4-noble)
cvsem_1.0.0.tgz(r-4.4-emscripten)cvsem_1.0.0.tgz(r-4.3-emscripten)
cvsem.pdf |cvsem.html✨
cvsem/json (API)
# Install 'cvsem' in R: |
install.packages('cvsem', repos = c('https://annawysocki.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/annawysocki/cvsem/issues
Last updated 3 years agofrom:905604afbe. Checks:1 OK, 7 WARNING. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 08 2025 |
R-4.5-win | WARNING | Feb 08 2025 |
R-4.5-mac | WARNING | Feb 08 2025 |
R-4.5-linux | WARNING | Feb 08 2025 |
R-4.4-win | WARNING | Feb 09 2025 |
R-4.4-mac | WARNING | Feb 08 2025 |
R-4.3-win | WARNING | Feb 09 2025 |
R-4.3-mac | WARNING | Feb 08 2025 |
Dependencies:lavaanMASSmnormtnumDerivpbivnormquadprogrbibutilsRdpack
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Cross-Validation of Structural Equation Models | cvsem |