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:Anna Wysocki [aut, cre], Danielle Siegel [aut], Cameron allen [aut], Philippe Rast [aut]

cvsem_1.0.0.tar.gz
cvsem_1.0.0.zip(r-4.7)cvsem_1.0.0.zip(r-4.6)cvsem_1.0.0.zip(r-4.5)
cvsem_1.0.0.tgz(r-4.6-any)cvsem_1.0.0.tgz(r-4.5-any)
cvsem_1.0.0.tar.gz(r-4.7-any)cvsem_1.0.0.tar.gz(r-4.6-any)
cvsem_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
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

On CRAN:

Conda:

3.95 score 6 stars 7 scripts 265 downloads 2 exports 8 dependencies

Last updated from:905604afbe. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING107
source / vignettesOK135
linux-release-x86_64WARNING133
macos-release-arm64WARNING110
macos-oldrel-arm64WARNING157
windows-develWARNING71
windows-releaseWARNING70
windows-oldrelWARNING66
wasm-releaseOK91

Exports:cvgathercvsem

Dependencies:lavaanMASSmnormtnumDerivpbivnormquadprogrbibutilsRdpack