The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

sprtt: Sequential Probability Ratio Tests Toolbox

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

Version: 0.3.1
Depends: R (≥ 3.5.0)
Imports: rappdirs, methods, stats, dplyr, MBESS, purrr, glue, ggplot2, lifecycle, knitr, rmarkdown, gt, ggtext, scales, piggyback
Suggests: testthat (≥ 3.0.0), testthis, withr, xml2, effsize, effectsize, vdiffr, diffviewer
Published: 2026-05-06
DOI: 10.32614/CRAN.package.sprtt
Author: Meike Snijder-Steinhilber ORCID iD [aut, cre], Martin Schnuerch ORCID iD [aut, ths], Anna-Lena Schubert ORCID iD [aut, ths]
Maintainer: Meike Snijder-Steinhilber <Meike.Steinhilber at aol.com>
BugReports: https://github.com/MeikeSteinhilber/sprtt/issues
License: AGPL (≥ 3)
URL: https://meikesteinhilber.github.io/sprtt/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: sprtt results

Documentation:

Reference manual: sprtt.html , sprtt.pdf
Vignettes: Developer Guide: sprtt Package (source, R code)
Sequential One-Way ANOVA (source, R code)
Sample Size Planning for Sequential ANOVAs (source, R code)
SPRTs (source)
Sequential t-Test (source, R code)
Use Case (source, R code)
How to use the sprtt package (source, R code)

Downloads:

Package source: sprtt_0.3.1.tar.gz
Windows binaries: r-devel: sprtt_0.3.1.zip, r-release: sprtt_0.3.1.zip, r-oldrel: sprtt_0.3.1.zip
macOS binaries: r-release (arm64): sprtt_0.3.1.tgz, r-oldrel (arm64): sprtt_0.3.1.tgz, r-release (x86_64): sprtt_0.3.1.tgz, r-oldrel (x86_64): sprtt_0.3.1.tgz
Old sources: sprtt archive

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.