Skip to content

subsampling

0.4.0Package record

Optimal Subsampling Methods for Statistical Models

0packages depend
6.1Kdownloads / year
76.4%test coverage
13/13flavors OK

Overview

About

Balancing computational and statistical efficiency, subsampling techniques offer a practical solution for handling large-scale data analysis. Subsampling methods enhance statistical modeling for massive datasets by efficiently drawing representative subsamples from full dataset based on tailored sampling probabilities. These probabilities are optimized for specific goals, such as minimizing the variance of coefficient estimates or reducing prediction error. Based on specified modeling assumptions and subsampling techniques, the package provides functions to draw subsamples from the full data, fit the model on the subsamples, and perform statistical inference.

Changes in 0.4.0
  • Expanded ssp.glm.rF() with a more comprehensive rare-feature subsampling implementation, including additional criteria, automatic rare-feature detection, response balancing options, and union-based combination.
  • Improved summaries for rare-feature GLMs and rare-event logistic regression, including clearer sample-composition information.
  • Added broader tests for rare-feature GLM scenarios and updated rare-event logistic regression summary tests.
  • Revised package vignettes, including the rare-feature GLM vignette and wording cleanup across method vignettes.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 240 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.4.0Citation fileNoWebsiteYes · pkgdown
Help pages
6includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
67%

Downloads

6.1K
CRAN downloads in the past year
Rank #7,722 · ~17/day · ~507/mo
Daily download trend is not available in this view yet.
46630 days
1.2K90 days
6.1K1 year
Compare downloads with other packages →
Also on386 r2u4 autocran

Repository

7Stars
0Forks
0Open issues
0Open PRs
0Releases
85Commits
1Commit identities
License file reads as GPL-3.0 · 85 commits · Last activity 2026-06-22 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
82
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-09-02 · 32026-07-07 · 7
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/dqksnow/subsampling on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-06-22

pkgdown site last built 2025-05-12, before release 0.4.0 (2026-06-21)

Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing subsampling adds 11 packages (7 with compiled code, 7.8 MB of source tarballs). Heaviest: survey 2.3 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (0)
none
Imports (6)
LinkingTo (2)
Suggests (4)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (5)
Author, Maintainer since 0.1.1 (2024), Copyright holder
Contributor
Contributor
Releases (3)

Pick two releases to compare their code metrics.

  • 0.4.0Latest
    record
    2026-06-21 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0
    record
    2026-03-10 · diff ↗ ·
    added 1 export
    ssp.glm.rF
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.1
    record
    2024-11-05
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-11-05
Total releases
3 / 2 yrs
License
GPL-3 OSI
Download size
131 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("subsampling")
Dong, Q., Wang, H., Yan, J., Yao, Y., & Zhang, Q. (2026). subsampling: Optimal Subsampling Methods for Statistical Models (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.subsampling

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for subsampling version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy