Skip to content

sparseSEM

Elastic Net Penalized Maximum Likelihood for Structural Equation Models with Network GPT Framework

v4.1 · Oct 27, 2024 · GPL

Description

Provides elastic net penalized maximum likelihood estimator for structural equation models (SEM). The package implements `lasso` and `elastic net` (l1/l2) penalized SEM and estimates the model parameters with an efficient block coordinate ascent algorithm that maximizes the penalized likelihood of the SEM. Hyperparameters are inferred from cross-validation (CV). A Stability Selection (STS) function is also available to provide accurate causal effect selection. The software achieves high accuracy performance through a `Network Generative Pre-trained Transformer` (Network GPT) Framework with two steps: 1) pre-trains the model to generate a complete (fully connected) graph; and 2) uses the complete graph as the initial state to fit the `elastic net` penalized SEM.

Downloads

629

Last 30 days

6172nd

1.8K

Last 90 days

6.7K

Last year

Trend: -5.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

new 4.1 Mar 10, 2026
updated 4.1 ← 4.0 diff Oct 26, 2024
updated 4.0 ← 3.8-2 diff Aug 8, 2023
updated 3.8-2 ← 3.8-1 diff Jun 10, 2023
updated 3.8-1 ← 3.8 diff May 3, 2023
updated 3.8 ← 2.5 diff Apr 20, 2023
updated 2.5 ← 2.3 diff Sep 3, 2014
new 2.3 Aug 25, 2014