Package: sprtt 0.3.1

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/>.
Authors:
sprtt_0.3.1.tar.gz
sprtt_0.3.1.zip(r-4.7)sprtt_0.3.1.zip(r-4.6)sprtt_0.3.1.zip(r-4.5)
sprtt_0.3.1.tgz(r-4.6-any)sprtt_0.3.1.tgz(r-4.5-any)
sprtt_0.3.1.tar.gz(r-4.7-any)sprtt_0.3.1.tar.gz(r-4.6-any)
sprtt_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sprtt/json (API)
| # Install 'sprtt' in R: |
| install.packages('sprtt', repos = c('https://meikesteinhilber.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/meikesteinhilber/sprtt/issues
Pkgdown/docs site:https://meikesteinhilber.github.io
Last updated from:371a9c7c75. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 253 | ||
| source / vignettes | OK | 228 | ||
| linux-release-x86_64 | OK | 209 | ||
| macos-release-arm64 | OK | 220 | ||
| macos-oldrel-arm64 | OK | 210 | ||
| windows-devel | OK | 150 | ||
| windows-release | OK | 202 | ||
| windows-oldrel | OK | 176 | ||
| wasm-release | OK | 163 |
Exports:cache_clearcache_infodownload_sample_size_datadraw_sample_mixturedraw_sample_normalload_sample_size_dataplan_sample_sizeplot_anovaseq_anovaseq_ttest
Dependencies:abindarmaskpassbase64encBHbigDbitopsbootbslibcachemclicodacommonmarkcpp11curldigestdplyrevaluatefarverfastmapfontawesomefsgenericsggplot2ggtextgitcredsgluegridtextgtgtablehighrhtmltoolshtmlwidgetshttrhttr2iniisobandjpegjquerylibjsonlitejuicyjuiceknitrlabelinglatticelavaanlifecyclelitedownlme4lubridatemagrittrmarkdownMASSMatrixMBESSmemoisemimimeminqamnormtmvtnormnlmenloptrnumDerivOpenMxopensslpbivnormpiggybackpillarpkgconfigpngpurrrquadprogR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackreactablereactRreformulasrlangrmarkdownrpfS7sassscalessemsemToolsStanHeadersstringistringrsystibbletidyselecttimechangetinytexutf8V8vctrsviridisLitewithrxfunxml2yaml
Last update: 2026-04-13
Started: 2026-04-13
Last update: 2026-04-13
Started: 2026-04-13
Last update: 2026-04-13
Started: 2026-04-13
Last update: 2026-04-13
Started: 2023-06-30
Last update: 2026-04-13
Started: 2023-06-30
Last update: 2026-04-13
Started: 2026-04-13
Last update: 2026-04-13
Started: 2023-06-30
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Clear cached simulation data | cache_clear |
| Cache information | cache_info |
| Test data to run the examples | df_cancer |
| Test data to run the examples | df_income |
| Test data to run the examples | df_stress |
| Download simulation data for sample size planning | download_sample_size_data |
| Draw Samples from a Gaussian Mixture Distribution | draw_sample_mixture |
| Draw Samples from a Normal Distribution | draw_sample_normal |
| Access sample size simulation data | load_sample_size_data |
| Generates HTML reports for sample size planning for sequential ANOVAs. | plan_sample_size |
| Plot Sequential ANOVA Results | plot_anova |
| Sequential Analysis of Variance | seq_anova |
| Sequential Probability Ratio Test using t-statistic | seq_ttest |
