hetNSC: Heteroscedastic Nearest Shrunken Centroid Classification

Nearest shrunken centroid (NSC) classifiers for high-dimensional, low-sample-size data such as gene expression. Implements the original homoscedastic NSC with soft thresholding (Prediction Analysis of Microarrays; Tibshirani et al. 2002 <doi:10.1073/pnas.082099299>), its hard- and order-thresholding versions (Sahtout, Wang and Ghimire 2024 <doi:10.1080/03610918.2022.2047201>), and the heteroscedastic extension of Sahtout and Wang that uses class-specific variances in both the test statistic and the discriminant function (methods STh3, HTh3 and OTh3). The thresholding parameter is selected by a refined ("deep") cross-validation search. Also provides the simulation design, per-class performance metrics and the relative-heterogeneity diagnostic used in the paper.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: MASS, stats
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, pamr
Published: 2026-11-07
DOI: 10.32614/CRAN.package.hetNSC (may not be active yet)
Author: Haiyan Wang [aut, cre], Mohammad Omar Sahtout [aut], Trevor Hastie [ctb] (Author of the 'pamr' code this package is derived from), Robert Tibshirani [ctb] (Author of the 'pamr' code this package is derived from), Balasubramanian Narasimhan [ctb] (Author of the 'pamr' code this package is derived from), Gilbert Chu [ctb] (Author of the 'pamr' code this package is derived from)
Maintainer: Haiyan Wang <hwang at ksu.edu>
License: GPL-2
NeedsCompilation: no
Citation: hetNSC citation info
Materials: README, NEWS
CRAN checks: hetNSC results

Documentation:

Reference manual: hetNSC.html , hetNSC.pdf
Vignettes: Getting started with hetNSC (source, R code)

Downloads:

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

Linking:

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