Package: regsem 1.9.5

Ross Jacobucci

regsem: Regularized Structural Equation Modeling

Uses both ridge and lasso penalties (and extensions) to penalize specific parameters in structural equation models. The package offers additional cost functions, cross validation, and other extensions beyond traditional structural equation models. Also contains a function to perform exploratory mediation (XMed).

Authors:Ross Jacobucci [aut, cre], Kevin Grimm [ctb], Andreas Brandmaier [ctb], Sarfaraz Serang [ctb], Rogier Kievit [ctb], Florian Scharf [ctb], Xiaobei Li [ctb], Ai Ye [ctb]

regsem_1.9.5.tar.gz
regsem_1.9.5.zip(r-4.7)regsem_1.9.5.zip(r-4.6)regsem_1.9.5.zip(r-4.5)
regsem_1.9.5.tgz(r-4.6-x86_64)regsem_1.9.5.tgz(r-4.6-arm64)regsem_1.9.5.tgz(r-4.5-x86_64)regsem_1.9.5.tgz(r-4.5-arm64)
regsem_1.9.5.tar.gz(r-4.7-arm64)regsem_1.9.5.tar.gz(r-4.7-x86_64)regsem_1.9.5.tar.gz(r-4.6-arm64)regsem_1.9.5.tar.gz(r-4.6-x86_64)
regsem_1.9.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
regsem/json (API)

# Install 'regsem' in R:
install.packages('regsem', repos = c('https://lifebrain.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rjacobucci/regsem/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

6.88 score 15 stars 126 scripts 632 downloads 2 mentions 13 exports 17 dependencies

Last updated from:5de69fa5ea. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK203
linux-devel-x86_64OK198
source / vignettesOK285
linux-release-arm64OK214
linux-release-x86_64OK201
macos-release-arm64OK120
macos-release-x86_64OK306
macos-oldrel-arm64OK111
macos-oldrel-x86_64OK469
windows-develOK212
windows-releaseOK267
windows-oldrelOK197
wasm-releaseOK168

Exports:cv_regsemdet_rangedet_range_parefaModelextractMatricesfit_indicesmulti_optimpen_modregsemstabselstabsel_parstabsel_thrxmed

Dependencies:codetoolsdigestfuturefuture.applyglobalslavaanlistenvMASSmnormtnumDerivparallellypbivnormquadprogRcppRcppArmadilloRsolnptruncnorm

Regsem Package

Rendered fromshort_intro.Rmdusingknitr::knitron May 16 2026.

Last update: 2021-03-22
Started: 2018-02-17

Readme and manuals

Help Manual

Help pageTopics
The main function that runs multiple penalty values.cv_regsem
Determine the initial range for stability selectiondet_range
Determine the initial range for stability selection, parallel versiondet_range_par
Generates an EFA model to be used by lavaan and regsem Function created by Florian Scharf for the paper Should regularization replace simple structure rotation in Exploratory Factor Analysis - Scharf & Nestler (in press at SEM)efaModel
This function extracts RAM matrices from a lavaan object.extractMatrices
Calculates the fit indicesfit_indices
Multiple starts for Regularized Structural Equation Modelingmulti_optim
Takes either a vector of parameter ids or a vector of named parameters and returns a vector of parameter idsparse_parameters
Penalized model syntax.pen_mod
Plot function for cv_regsemplot.cvregsem
Calculates the objective function values.rcpp_fit_fun
Calculates the gradient vector based on Von Oertzen and Brick, 2014rcpp_grad_ram
Compute quasi Hessianrcpp_quasi_calc
Take RAM matrices, multiplies, and returns Implied Covariance matrix.rcpp_RAMmult
Regularized Structural Equation Modeling. Tests a single penalty. For testing multiple penalties, see cv_regsem().regsem
Stability selectionstabsel
Stability selection, parallelized versionstabsel_par
Tuning the probability threshold.stabsel_thr
print information about cvregsem objectsummary.cvregsem
Summary results from regsem.summary.regsem
Function to performed exploratory mediation with continuous and categorical variablesxmed