View source: R/get.ts.bin.int.dec.r
get.ts.bin.int.dec | R Documentation |
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.con |
alpha parameter for control |
b.con |
beta parameter for control |
a.trt |
alpha parameter for treatment |
b.trt |
beta parameter for treatment |
n.trt |
final sample size for treatment |
n.con |
final sample size for control |
n.int.c |
interim sample sizes for control |
n.int.t |
interim sample sizes for treatment |
Delta.lrv |
min TPP |
Delta.tv |
Base TPP |
tau.tv |
study-end threshold for Base TPP |
tau.lrv |
study-end threshold for Min TPP |
tau.ng |
study-end threshold for NG |
go.thresh |
threshold for predictive probabilities at interim |
ng.thresh |
threshold for predictive probabilities at interim |
runs |
the number of simulation runs |
include_nogo |
logical |
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.
my.ts.bin.int.dec <- get.ts.bin.int.dec() my.ts.bin.int.dec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.