CRAN/E | cvsem

cvsem

SEM Model Comparison with K-Fold Cross-Validation

Installation

About

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.

Key Metrics

Version 1.0.0
Published 2022-08-13 631 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks cvsem results

Downloads

Yesterday 7 0%
Last 7 days 49 -34%
Last 30 days 211 -3%
Last 90 days 601 -22%
Last 365 days 2.592 +46%

Maintainer

Maintainer

Anna Wysocki

awysocki@ucdavis.edu

Authors

Anna Wysocki

aut / cre

Danielle Siegel

aut

Cameron allen

aut

Philippe Rast

aut

Material

README
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Imports

lavaan
stats
Rdpack

Suggests

testthat ≥ 3.0.0