Learn R Programming

⚠️There's a newer version (1.9.5) of this package.Take me there.

regsem (version 1.6.2)

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

396

Version

1.6.2

License

GPL (>= 2)

Maintainer

Ross Jacobucci

Last Published

October 1st, 2020

Functions in regsem (1.6.2)

multi_optim

Multiple starts for Regularized Structural Equation Modeling
det_range_par

Determine the initial range for stability selection, parallel version
pen_mod

Penalized model syntax.
det_range

Determine the initial range for stability selection
parse_parameters

Takes either a vector of parameter ids or a vector of named parameters and returns a vector of parameter ids
plot.cvregsem

Plot function for cv_regsem
cv_regsem

The main function that runs multiple penalty values.
extractMatrices

This function extracts RAM matrices from a lavaan object.
fit_indices

Calculates the fit indices
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)
rcpp_RAMmult

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

Calculates the objective function values.
stabsel_par

Stability selection, parallelized version
stabsel_thr

Tuning the probability threshold.
summary.regsem

Summary results from regsem.
summary.cvregsem

print information about cvregsem object
xmed

Function to performed exploratory mediation with continuous and categorical variables
rcpp_quasi_calc

Compute quasi Hessian
rcpp_grad_ram

Calculates the gradient vector based on Von Oertzen \& Brick, 2014
stabsel

Stability selection
regsem

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