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.tar.gz(r-4.5-noble)regsem_1.9.5.tar.gz(r-4.4-noble)
regsem_1.9.5.tgz(r-4.4-emscripten)regsem_1.9.5.tgz(r-4.3-emscripten)
regsem.pdf |regsem.html
regsem/json (API)

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

Peer review:

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

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

openblascpp

3.19 score 77 scripts 578 downloads 2 mentions 13 exports 10 dependencies

Last updated 2 years agofrom:726460b51a. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-linux-x86_64OKDec 22 2024

Exports:cv_regsemdet_rangedet_range_parefaModelextractMatricesfit_indicesmulti_optimpen_modregsemstabselstabsel_parstabsel_thrxmed

Dependencies:lavaanMASSmnormtnumDerivpbivnormquadprogRcppRcppArmadilloRsolnptruncnorm

Regsem Package

Rendered fromshort_intro.Rmdusingknitr::knitron Dec 22 2024.

Last update: 2021-06-03
Started: 2018-03-03

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