computeMHPBoundaries: Compute the three modified Haybittle-Peto boundaries

Description Usage Arguments Value References

View source: R/utilities.R

Description

Compute the three modified Haybittle-Peto boundaries

Usage

1
2
computeMHPBoundaries(prevalence, N, alpha, beta, eps,
  futilityOnly = FALSE)

Arguments

prevalence

the vector of prevalences between 0 and 1 summing to 1. J, the number of groups, is implicitly the length of this vector and should be at least 2.

N

a three-vector of total sample size at each stage

alpha

the type I error

beta

the type II error

eps

the fraction (between 0 and 1) of the type 1 error to spend in the interim stages 1 and 2

futilityOnly

a logical value indicating only the futility boundary is to be computed; default FALSE

Value

a named vector of three values containing btilde, b, c

References

Adaptive Choice of Patient Subgroup for Comparing Two Treatments by Tze Leung Lai and Philip W. Lavori and Olivia Yueh-Wen Liao. Contemporary Clinical Trials, Vol. 39, No. 2, pp 191-200 (2014). http://www.sciencedirect.com/science/article/pii/S1551714414001311


bnaras/ASSISTant documentation built on Nov. 23, 2019, 6:20 p.m.