MSPRT
A Modified Sequential Probability Ratio Test (MSPRT)
Description
Given the maximum available sample size (N) for an experiment, and the target levels of Type I and II error probabilities, this package designs a modified SPRT (MSPRT). For any designed MSPRT the package can also obtain its operating characteristics and implement the test for a given sequentially observed data. The MSPRT is defined in a manner very similar to Wald's initial proposal. The proposed test has shown evidence of reducing the average sample size required to perform statistical hypothesis tests at specified levels of significance and power. Currently, the package implements one-sample proportion tests, one and two-sample z tests, and one and two-sample t tests. A brief user guidance for this package is provided below. One can also refer to the supplemental information for the same.
Downloads
239
Last 30 days
13205th
239
Last 90 days
239
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
*
*
dependencies in R code
Namespaces in Imports field not imported from: ‘datasets’ ‘grDevices’ ‘graphics’ ‘iterators’ ‘methods’ All declared Imports should be used.
dependencies in R code
Namespaces in Imports field not imported from: ‘datasets’ ‘grDevices’ ‘graphics’ ‘iterators’ ‘methods’ All declared Imports should be used.
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
dependencies in R code
Namespaces in Imports field not imported from: ‘datasets’ ‘grDevices’ ‘graphics’ ‘iterators’ ‘methods’ All declared Imports should be used.
dependencies in R code
Namespaces in Imports field not imported from: ‘datasets’ ‘grDevices’ ‘graphics’ ‘iterators’ ‘methods’ All declared Imports should be used.