The seq_ttest() function is the implementation of Abraham Wald’s (1947) <doi:10.2134/agronj1947.00021962003900070011x> Sequential Probability Ratio Test (SPRT) for the test of a normal mean (difference) with unknown variance in R (R Core Team, 2018). It performs sequential t tests developed by Rushton (1950) <doi:10.2307/2332385>, Rushton (1952) <doi:10.2307/2334026> and Hajnal (1961) <doi:10.2307/2333131>, based on the SPRT. Specifically, seq_ttest() performs one-sample, two-sample, and paired t tests for testing one- and two-sided hypotheses. The test is to be applied to the data during the sampling process, ideally after each observation. At any stage, it will return a decision to either continue sampling or terminate and accept one of the specified hypotheses. For more information on the SPRT t test, see Schnuerch & Erdfelder (2019) <doi:10.1037/met0000234>.
Package details |
|
---|---|
Author | Meike Steinhilber [aut, cre] (<https://orcid.org/0000-0002-7144-2100>), Martin Schnuerch [aut, ths] (<https://orcid.org/0000-0001-6531-2265>), Anna-Lena Schubert [aut, ths] (<https://orcid.org/0000-0001-7248-0662>) |
Maintainer | Meike Steinhilber <Meike.Steinhilber@aol.com> |
License | GPL (>= 3) |
Version | 0.1.0 |
URL | https://meikesteinhilber.github.io/sprtt/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.