Learn R Programming

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

We provide extremely efficient procedures for fitting the lasso and elastic net regularized Structural Equation Models (SEM). The model output can be used for inferring network structure (topology) and estimating causal effects. Key features include sparse variable selection and effect estimation via l1 and l2 penalized maximum likelihood estimator (MLE) implemented with BLAS/Lapack routines. The implementation enables extremely efficient computation. Details can be found in Huang A. (2014).

To achieve high performance accuracy, the software implements a Network Generative Pre-traning Transformer (GPT) framework:

  • Perform a Network GPT that generates a complete (fully connected) graph from l2 penalized SEM (i.e., ridge SEM); and
  • Use the complete graph as the initial state and fit the elastic net (l1 and l2) penalized SEM.

Note that the term Transformer does not carry the same meaning as the transformer architecture commonly used in Natural Language Processing (NLP). In Network GPT, the term refers to the creation and generation of the complete graph.

Version 4.0:

  • Enhanced documentation with a new vignette Network Inferrence via sparseSEM to enable quick setup and running of the package;
  • Added a new yeast GRN real dataset that was used to generate the graph in the vignettes;
  • Added the dataset preprocessing description in the vignette; and
  • further streamline function input and output from both C/C++ and R functions

Version 3.8:

  • simplified user interface with central functions and simple parameters setup;
  • stability selection function with both serial and parallel bootstrapping;
  • streamlined function output.

Version 3 is a major release that updates BLAS/Lapack routines according to R-API change.

References

Copy Link

Version

Install

install.packages('sparseSEM')

Monthly Downloads

546

Version

4.0

License

GPL

Maintainer

Anhui Huang

Last Published

August 9th, 2023

Functions in sparseSEM (4.0)

elasticNetSEMpoint

The Elastic Net penalty for SEM
Y

Gene expression matrix
B

True network edges
elasticNetSEM

The Elastic Net penalized SEM with Network GPT Framework
lassoSEM

The Lasso penalty for SEM
enSEM_stability_selection_parallel

Parallel Stability Selection for the Elastic Net penalized SEM
Missing

Missing Network Node dependent variable data
X

Genotype matrix
elasticNetSEMcv

The Elastic Net penalty for SEM with user supplied (alphas, lambdas) for grid search
yeast

Yeast cis-QTL Gene Regulatory Network Dataset
enSEM_stability_selection

Stability Selection for the Elastic Net penalized SEM
sparseSEM-internal

Internal sparseSEM function
sparseSEM-package

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