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
287
Last 30 days
13935th
991
Last 90 days
3K
Last year
Trend: +47.9% (30d vs prior 30d)
9
Last 30 days
23
Last 90 days
99
Last year
Trend: -35.7% (30d vs prior 30d)
r2u: no daily series yet
CRAN Check Status
Show all 13 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-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 (2 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 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 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.
ERROR 10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
package dependencies
Package required but not available: ‘ggpubr’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
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.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 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.