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>.

Version: 0.1.0
Imports: stats, GFM, MASS, irlba
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-09-10
DOI: 10.32614/CRAN.package.sparseGFM
Author: Zhijing Wang [aut, cre]
Maintainer: Zhijing Wang <wangzhijing at sjtu.edu.cn>
BugReports: https://github.com/zjwang1013/sparseGFM/issues
License: GPL (≥ 3)
URL: https://github.com/zjwang1013/sparseGFM
NeedsCompilation: no
CRAN checks: sparseGFM results

Documentation:

Reference manual: sparseGFM.html , sparseGFM.pdf

Downloads:

Package source: sparseGFM_0.1.0.tar.gz
Windows binaries: r-devel: sparseGFM_0.1.0.zip, r-release: sparseGFM_0.1.0.zip, r-oldrel: sparseGFM_0.1.0.zip
macOS binaries: r-release (arm64): sparseGFM_0.1.0.tgz, r-oldrel (arm64): sparseGFM_0.1.0.tgz, r-release (x86_64): sparseGFM_0.1.0.tgz, r-oldrel (x86_64): sparseGFM_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sparseGFM to link to this page.