Get two-sample binary interim decision
get.ts.bin.int.dec(
a.con = 1,
b.con = 1,
a.trt = 1,
b.trt = 1,
n.trt = 40,
n.con = 40,
n.int.c = c(10, 20, 30),
n.int.t = c(10, 20, 30),
Delta.lrv = 0.15,
Delta.tv = 0.3,
tau.tv = 0.1,
tau.lrv = 0.8,
tau.ng = 0.65,
go.thresh = 0.8,
ng.thresh = 0.8,
runs = 500,
include_nogo = TRUE
)
a Data frame with the following columns * **IntermR_C** the number of control responses * **IntermR_T** the number of treatment responses * **Interm** the index of which interim analysis is being assessed. * **Go/No-Go/Consider** the proportion of simulations generating a final go/No-Go/Consider decision. * **Decision** The interim decision based off of the simulated results.
alpha parameter for control
beta parameter for control
alpha parameter for treatment
beta parameter for treatment
final sample size for treatment
final sample size for control
interim sample sizes for control
interim sample sizes for treatment
min TPP
Base TPP
study-end threshold for Base TPP
study-end threshold for Min TPP
study-end threshold for NG
threshold for predictive probabilities at interim
threshold for predictive probabilities at interim
the number of simulation runs
logical
my.ts.bin.int.dec <- get.ts.bin.int.dec()
my.ts.bin.int.dec
Run the code above in your browser using DataLab