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

Package details

AuthorMeike Snijder-Steinhilber [aut, cre] (ORCID: <https://orcid.org/0000-0002-7144-2100>), Martin Schnuerch [aut, ths] (ORCID: <https://orcid.org/0000-0001-6531-2265>), Anna-Lena Schubert [aut, ths] (ORCID: <https://orcid.org/0000-0001-7248-0662>)
MaintainerMeike Snijder-Steinhilber <Meike.Steinhilber@aol.com>
LicenseAGPL (>= 3)
Version0.3.1
URL https://meikesteinhilber.github.io/sprtt/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("sprtt")

Try the sprtt package in your browser

Any scripts or data that you put into this service are public.

sprtt documentation built on May 6, 2026, 5:06 p.m.