Sequential Probability Ratio Tests Toolbox
Overview
A toolbox for Sequential Probability Ratio Tests (SPRT) based on Wald (1945) doi:10.2134/agronj1947.00021962003900070011x. SPRTs are applied during the sampling process, ideally after each observation, and at every stage return a decision to either continue sampling or terminate and accept one of the specified hypotheses. The `seq_ttest()` function performs one-sample, two-sample, and paired t-tests for one- and two-sided hypotheses (Schnuerch & Erdfelder (2019) doi:10.1037/met0000234). The `seq_anova()` function performs a sequential one-way fixed effects ANOVA (Steinhilber et al. (2024) doi:10.1037/met0000677). The `plan_sample_size()` function helps plan sequential studies by simulating required sample sizes across a range of effect sizes. For more information, see the vignettes browseVignettes(package = "sprtt") or the package website https://meikesteinhilber.github.io/sprtt/.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-07
Show 1 earlier changeHide 1 earlier change
- ERROR12 OK, 2 ERROR2026-03-10
Documentation
- Help pages
- 21 (8 internal)includes a package overview page
- Examples that run
- 56%5 run in a plain check · 4 never run
- Exported functions with examples
- 90%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 28
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/meikesteinhilber/sprtt on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-05 · The repository has a site deploy workflow
pkgdown site last built 2026-08-05
Show all practicesHide 3 practices
Dependencies
Code & Tests
Datasets
People & History
Maintainer since 0.1.0 (2021)
Pick two releases to compare their code metrics.
- 0.3.1Latest2026-05-06 · current release · diff ↗ ·
added 5 exports
cache_clear, cache_info, download_sample_size_data, load_sample_size_data, plan_sample_size - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.0
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.02021-08-06
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-08-06
- Total releases
- 3 / 5 yrs
- License
- AGPL (>= 3) OSI · relicensed from GPL (>= 3) in 0.2.0
- Minimum R
- ≥ 3.5.0
- Bundled data
- 5.1 KB / 3 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sprtt")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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.