mHP.c {ASSISTant}R Documentation

Compute the efficacy boundary (modified Haybittle-Peto) for the final (third) stage

Description

Compute the efficacy boundary (modified Haybittle-Peto) for the final (third) stage

Usage

mHP.c(prevalence, N, cov.J, mu.prime, Sigma.prime, alpha, btilde, b, theta)

Arguments

prevalence

the vector of prevalences between 0 and 1 summing to 1. JJ, 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

cov.J

the 3 x 3 covariance matrix for Z_J at each of the three stages

mu.prime

a list of JJ mean vectors, each of length J1J-1 representing the conditional means of all the other ZjZ_j given ZiZ_i. This mean does not account for the conditioned value of ZiZ_i and so has to be multiplied by that during use!

Sigma.prime

a list of JJ covariance matrices, each J1J-1 by J1J-1 representing the conditional covariances all the other ZjZ_j given ZiZ_i

alpha

the amount of type I error to spend

btilde

the futility boundary

b

the efficacy boundary for the first two stages

theta

the effect size on the probability scale


[Package ASSISTant version 1.4.3 Index]