pFstopEcall {BDP2} | R Documentation |
operating characteristics of a single-arm trial with a binary endpoint with futility stopping and calling efficacy at interim
Description
Determines the operating characteristics of a single-arm trial with a binary endpoint (success - failure) on the basis of analytical derivations. The design allows for futility stopping and evaluates efficacy at interim. Outputs are
probability of calling efficacy (P.effic) at each interim analysis
cumulative probability of calling efficacy up to the interim (P.effic.cum).
probability of futility stopping (P.futil) at each interim analysis
cumulative stopping probability up to the interim (P.futil.cum).
Usage
pFstopEcall(p, vn.int, v.critE, v.critF)
Arguments
p |
true response rate |
vn.int |
vector of sample sizes at the interim analyses |
v.critE |
vector of critical boundaries for calling efficacy at the interim analyses (call efficacy if number of successes >= boundary) |
v.critF |
vector of critical boundaries for futility stopping at the interim analyses (stop for futility if number of successes <= boundary). Choose boundary=-1 if no stopping for futility is allowed. |
Examples
pFstopEcall(p=0.3,vn.int=c(3,9,13,18,20),v.critE=4:8, v.critF=c(0,1,2,3,3))