Package: sparseGFM 0.1.0

Zhijing Wang

sparseGFM: Sparse Generalized Factor Models with Multiple Penalty Functions

Implements sparse generalized factor models (sparseGFM) for dimension reduction and variable selection in high-dimensional data with automatic adaptation to weak factor scenarios. The package supports multiple data types (continuous, count, binary) through generalized linear model frameworks and handles missing values automatically. It provides 12 different penalty functions including Least Absolute Shrinkage and Selection Operator (Lasso), adaptive Lasso, Smoothly Clipped Absolute Deviation (SCAD), Minimax Concave Penalty (MCP), group Lasso, and their adaptive versions for inducing row-wise sparsity in factor loadings. Key features include cross-validation for regularization parameter selection using Sparsity Information Criterion (SIC), automatic determination of the number of factors via multiple information criteria, and specialized algorithms for row-sparse loading structures. The methodology employs alternating minimization with Singular Value Decomposition (SVD)-based identifiability constraints and is particularly effective for high-dimensional applications in genomics, economics, and social sciences where interpretable sparse dimension reduction is crucial. For penalty functions, see Tibshirani (1996) <doi:10.1111/j.2517-6161.1996.tb02080.x>, Fan and Li (2001) <doi:10.1198/016214501753382273>, and Zhang (2010) <doi:10.1214/09-AOS729>.

Authors:Zhijing Wang [aut, cre]

sparseGFM_0.1.0.tar.gz
sparseGFM_0.1.0.zip(r-4.7)sparseGFM_0.1.0.zip(r-4.6)sparseGFM_0.1.0.zip(r-4.5)
sparseGFM_0.1.0.tgz(r-4.6-any)sparseGFM_0.1.0.tgz(r-4.5-any)
sparseGFM_0.1.0.tar.gz(r-4.7-any)sparseGFM_0.1.0.tar.gz(r-4.6-any)
sparseGFM_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
sparseGFM/json (API)

# Install 'sparseGFM' in R:
install.packages('sparseGFM', repos = c('https://zjwang1013.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/zjwang1013/sparsegfm/issues

On CRAN:

Conda:

dimension-reductionfactor-modelspenalized-regressionvariable-selection

3.60 score 2 stars 5 scripts 480 downloads 6 exports 12 dependencies

Last updated from:5d4527e9c3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK128
source / vignettesOK173
linux-release-x86_64OK132
macos-release-arm64OK178
macos-oldrel-arm64OK162
windows-develOK102
windows-releaseOK76
windows-oldrelOK94
wasm-releaseOK99

Exports:add_identifiabilitycv.sparseGFMeval.spaceevaluate_performancefacnum.sparseGFMsparseGFM

Dependencies:codetoolsdoSNOWforeachGFMirlbaiteratorslatticeMASSMatrixRcppRcppArmadillosnow