Learn R Programming

BDP2 (version 0.1.3)

pFstopEstop: Operating characteristics of a single-arm trial with a binary endpoint with stopping for futility and stopping for efficacy

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 stopping for futility and stopping for efficacy. Outputs are

  • probability of stopping for efficacy (P.effic) at each interim analysis

  • cumulative probability of stopping for 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

pFstopEstop(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 (stop for 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

Run this code
# NOT RUN {
pFstopEstop(p=0.3,vn.int=c(3,9,13,18,20),v.critE=4:8, v.critF=c(0,1,2,3,3))
# }

Run the code above in your browser using DataLab