seqtest: An R package for sequential triangular tests
The R package seqtest provides functions to perform sample size determination and a sequential triangular test for the expectation in one and two samples, probabilities in one and two samples, and the product–moment correlation coefficient. The main characteristic of the sequential triangular test is that there is no fixed sample size given in advance. That is, for the most recent sampling point, one has to decide whether (1) sampling has to be continued, (2) the null hypothesis is accepted, or (3) the alternative hypothesis is accepted, given specified precision requirements (i.e., type-I risk, type-II risk, and an effect size). In general, sequential triangular tests have the advantage that in many cases the average sample size is smaller than that of the corresponding fixed sample size tests. The use of seqtest is illustrated by testing a correlation coefficient’s null hypothesis: 0 < ρ ≤ ρ0 using a sequential triangular test.
KeywordsCorrelation coefficient R program sequential triangular test test of hypothesis
AMS Subject Classification62
Unable to display preview. Download preview PDF.
- Rasch, D., T. Yanagida, K. D. Kubinger, and B. Schneider. 2017. Determination of the optimal size of subsamples for testing a correlation coefficient by a sequential triangular test. In Statistics and simulation, ed. K. Moder, V. Melas, J. Pilz, and D. Rasch. Heidelberg, Germany: Springer.Google Scholar
- Schneider, B. 1992. An interactive computer program for design and monitoring of sequential clinical trials. Proceedings of the XVIth International Biometric Conference, 237–50, Hamilton, New Zealand.Google Scholar
- Yanagida, T. 2016. seqtest: Sequential triangular test. R package version 0.1-0. https://doi.org/CRAN.R-project.org/package=seqtest