Skip to content

sparseSEM

4.1Package record

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

0packages depend
6.2Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 4.4 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 4.1
READMEYes · 315 wordsVignettesYes · 2 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

6.2K
CRAN downloads in the past year
Rank #9,056 · ~17/day · ~515/mo
Daily download trend is not available in this view yet.
33630 days
1.1K90 days
6.2K1 year
Compare downloads with other packages →
Also on350 r2u7 autocran128 c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing sparseSEM adds no packages beyond those that come with R.

Depends (1)
R >= 3.5.0
Imports (1)
parallel
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Contributor, Maintainer since 2.3 (2013)
Listed in earlier versions (1)
Xiaodong Cai
no longer listed · 2.3
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 4.1Latest
    record
    2024-10-27 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 4.0
    record
    2023-08-09 · diff ↗
  • 3.8-2
    record
    2023-06-11 · diff ↗
  • 3.8-1
    record
    2023-05-04 · diff ↗
  • unarchivedReturned to CRAN
    2023-04-21
  • 3.8
    record
    2023-04-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2022-05-07
    installation issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
Show 6 earlier eventsHide 6 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2.5
    record
    2014-09-04 · diff ↗
  • 2.3
    record
    2014-08-26
  • R
    R 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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sparseSEM")
Huang, A. (2024). sparseSEM: Elastic Net Penalized Maximum Likelihood for Structural Equation Models with Network GPT Framework (Version 4.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sparseSEM version 4.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy