Skip to contents

For a single group sequential design, obtains bias for a single true response rate.

Usage

pwbGS(theta, des, bounds, nsims = 1e+05)

Arguments

theta

true response probablity

des

a realisation of a GS design, formatted as per output of curtailment::singlearmDesign

bounds

a data frame with 3 cols: m, fail, success, corresponding to cumulative sample size at each interim analysis, and fail/success boundaries

nsims

number of simulations (default 1e5)

Value

list of length 3: results: individual sims ests: estimates mc.error