View source: R/functions_tte.R
EPsProg_tte | R Documentation |
Expected probability of a successful program for time-to-event outcomes
EPsProg_tte(
HRgo,
d2,
alpha,
beta,
step1,
step2,
w,
hr1,
hr2,
id1,
id2,
gamma,
fixed
)
HRgo |
threshold value for the go/no-go decision rule |
d2 |
total events for phase II; must be even number |
alpha |
significance level |
beta |
|
step1 |
lower boundary for effect size |
step2 |
upper boundary for effect size |
w |
weight for mixture prior distribution |
hr1 |
first assumed true treatment effect on HR scale for prior distribution |
hr2 |
second assumed true treatment effect on HR scale for prior distribution |
id1 |
amount of information for |
id2 |
amount of information for |
gamma |
difference in treatment effect due to different population structures in phase II and III |
fixed |
choose if true treatment effects are fixed or random, if TRUE |
The output of the functions EPsProg_tte()
is the expected probability of a successful program.
res <- EPsProg_tte(HRgo = 0.8, d2 = 50,
alpha = 0.025, beta = 0.1,
step1 = 1, step2 = 0.95,
w = 0.3, hr1 = 0.69, hr2 = 0.81,
id1 = 280, id2 = 420,
gamma = 0, fixed = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.