Package: sparseR 0.3.1.9000

sparseR: Variable Selection under Ranked Sparsity Principles for Interactions and Polynomials

An implementation of ranked sparsity methods, including penalized regression methods such as the sparsity-ranked lasso, its non-convex alternatives, and elastic net, as well as the sparsity-ranked Bayesian Information Criterion. As described in Peterson and Cavanaugh (2022) <doi:10.1007/s10182-021-00431-7>, ranked sparsity is a philosophy with methods primarily useful for variable selection in the presence of prior informational asymmetry, which occurs in the context of trying to perform variable selection in the presence of interactions and/or polynomials. Ultimately, this package attempts to facilitate dealing with cumbersome interactions and polynomials while not avoiding them entirely. Typically, models selected under ranked sparsity principles will also be more transparent, having fewer falsely selected interactions and polynomials than other methods.

Authors:Ryan Andrew Peterson [aut, cre]

sparseR_0.3.1.9000.tar.gz
sparseR_0.3.1.9000.zip(r-4.5)sparseR_0.3.1.9000.zip(r-4.4)sparseR_0.3.1.9000.zip(r-4.3)
sparseR_0.3.1.9000.tgz(r-4.5-any)sparseR_0.3.1.9000.tgz(r-4.4-any)sparseR_0.3.1.9000.tgz(r-4.3-any)
sparseR_0.3.1.9000.tar.gz(r-4.5-noble)sparseR_0.3.1.9000.tar.gz(r-4.4-noble)
sparseR_0.3.1.9000.tgz(r-4.4-emscripten)sparseR_0.3.1.9000.tgz(r-4.3-emscripten)
sparseR.pdf |sparseR.html
sparseR/json (API)
NEWS

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

Bug tracker:https://github.com/petersonr/sparser/issues

Pkgdown site:https://petersonr.github.io

Datasets:

On CRAN:

Conda:

5.23 score 6 stars 14 scripts 242 downloads 12 exports 56 dependencies

Last updated 9 months agofrom:4a200769ff. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 15 2025
R-4.5-winOKMar 15 2025
R-4.5-macOKMar 15 2025
R-4.5-linuxOKMar 15 2025
R-4.4-winOKMar 15 2025
R-4.4-macOKMar 15 2025
R-4.4-linuxOKMar 15 2025
R-4.3-winOKMar 15 2025
R-4.3-macOKMar 15 2025

Exports:%>%EBICeffect_plotget_penaltiesRAICRBICsparseRsparseR_prepsparseRBIC_bootstrapsparseRBIC_sampsplitsparseRBIC_stepstep_center_to

Dependencies:classcliclockcodetoolscpp11data.tablediagramdigestdplyrfansifuturefuture.applygenericsglobalsgluegowerhardhatipredKernSmoothlatticelavalifecyclelistenvlubridatemagrittrMASSMatrixncvregnnetnumDerivparallellypillarpkgconfigprodlimprogressrpurrrR6RcpprecipesrlangrpartshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrswithr

Using the sparseR package

Rendered fromsparseR.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2024-06-26
Started: 2021-07-03