Learn R Programming

regsem (version 1.9.5)

Regularized Structural Equation Modeling

Description

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).

Copy Link

Version

Install

install.packages('regsem')

Monthly Downloads

568

Version

1.9.5

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Ross Jacobucci

Last Published

June 2nd, 2023

Functions in regsem (1.9.5)

stabsel_par

Stability selection, parallelized version
fit_indices

Calculates the fit indices
multi_optim

Multiple starts for Regularized Structural Equation Modeling
stabsel_thr

Tuning the probability threshold.
summary.cvregsem

print information about cvregsem object
efaModel

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)
regsem

Regularized Structural Equation Modeling. Tests a single penalty. For testing multiple penalties, see cv_regsem().
stabsel

Stability selection
cv_regsem

The main function that runs multiple penalty values.
det_range

Determine the initial range for stability selection
summary.regsem

Summary results from regsem.
xmed

Function to performed exploratory mediation with continuous and categorical variables
rcpp_RAMmult

Take RAM matrices, multiplies, and returns Implied Covariance matrix.
rcpp_fit_fun

Calculates the objective function values.
parse_parameters

Takes either a vector of parameter ids or a vector of named parameters and returns a vector of parameter ids
pen_mod

Penalized model syntax.
plot.cvregsem

Plot function for cv_regsem
rcpp_grad_ram

Calculates the gradient vector based on Von Oertzen and Brick, 2014
rcpp_quasi_calc

Compute quasi Hessian
det_range_par

Determine the initial range for stability selection, parallel version
extractMatrices

This function extracts RAM matrices from a lavaan object.