Elastic Net Penalized Maximum Likelihood for Structural Equation Models with Network GPT Framework
Overview
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.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 13 (1 internal)includes a package overview page
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 92%
Downloads
Dependencies
Installing sparseSEM adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 4.1Latest
- RR 4.4.0 released · 2024-04-24
- 4.02023-08-09 · diff ↗
- 3.8-22023-06-11 · diff ↗
- 3.8-12023-05-04 · diff ↗
- unarchivedReturned to CRAN2023-04-21
- 3.82023-04-21 · diff ↗
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2022-05-07installation issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2014-08-26
- Total releases
- 7 / 12 yrs
- License
- GPL
- Minimum R
- ≥ 3.5.0
- Bundled data
- 860 KB / 5 files
- Download size
- 4.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sparseSEM")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.