sparseSEM
4.1Elastic 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
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 8.0 median / 21 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
29 0 exported
Complexity
11.4 avg / 21 max
Call network
29 nodes / 65 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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 ↗
- 3.82023-04-21 · diff ↗
- unarchivedReturned to CRAN2023-04-21
- 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
Show 6 earlier events
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 2.52014-09-04 · diff ↗
- 2.32014-08-26
- RR 3.1.0 released · 2014-04-10
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
- Installed size
- not tracked yet
- With dependencies
- not tracked yet