MSPRT3.0 package

A Modified Sequential Probability Ratio Test (MSPRT)

design.MSPRT

Designing the MSPRT

design.MSPRT_oneProp

Internal MSPRT function: Designing the MSPRT for one-sample proportion...

design.MSPRT_oneT

Internal MSPRT function: Designing the MSPRT for one-sample t tests

design.MSPRT_oneZ

Internal MSPRT function: Designing the MSPRT for one-sample z tests

design.MSPRT_twoT

Internal MSPRT function: Designing the MSPRT for two-sample t tests

design.MSPRT_twoZ

Internal MSPRT function: Designing the MSPRT for two-sample z tests

effectiveN.oneProp

Calculating effective maximum sample size to be used in designing the ...

fixed_design.alt

Fixed-design alternative

implement.MSPRT

Implementing the MSPRT

implement.MSPRT_oneProp

Internal MSPRT function: Implementing the MSPRT in one-sample proporti...

implement.MSPRT_oneT

Internal MSPRT function: Implementing the MSPRT in one-sample t tests

implement.MSPRT_oneZ

Internal MSPRT function: Implementing the MSPRT in one-sample z tests

implement.MSPRT_twoT

Internal MSPRT function: Implementing the MSPRT in two-sample t tests

implement.MSPRT_twoZ

Internal MSPRT function: Implementing the MSPRT in two-sample z tests

MSPRT-package

tools:::Rd_package_title("MSPRT")

Nstar

Sample size required to achieve higher significance

OCandASN.MSPRT

Operating characteristics (OC) and Average Sample Number (ASN) of a de...

OCandASN.MSPRT_oneProp

Internal MSPRT function: OC and ASN of a designed MSPRT in one-sample ...

OCandASN.MSPRT_oneT

Internal MSPRT function: OC and ASN of a designed MSPRT in one-sample ...

OCandASN.MSPRT_oneZ

Internal MSPRT function: OC and ASN of a designed MSPRT in one-sample ...

OCandASN.MSPRT_twoT

Internal MSPRT function: OC and ASN of a designed MSPRT in two-sample ...

OCandASN.MSPRT_twoZ

Internal MSPRT function: OC and ASN of a designed MSPRT in two-sample ...

Type2.fixed_design

Type II error probability of fixed design tests

UMPBT.alt

UMPBT alternative

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.

  • Maintainer: Sandipan Pramanik
  • License: GPL (>= 2)
  • Last published: 2020-11-13