View source: R/optimal_multiarm_generic.R
optimal_multiarm_generic | R Documentation |
Generic function for optimizing multi-arm programs
optimal_multiarm_generic(
n2min,
n2max,
stepn2,
beta,
alpha,
c2,
c3,
c02,
c03,
K,
N,
S,
b1,
b2,
b3,
strategy,
num_cl
)
n2min |
minimal total sample size in phase II, must be divisible by 3 |
n2max |
maximal total sample size in phase II, must be divisible by 3 |
stepn2 |
stepsize for the optimization over n2, must be divisible by 3 |
beta |
type-II error rate for any pair, i.e. |
alpha |
one-sided significance level/family-wise error rate |
c2 |
variable per-patient cost for phase II |
c3 |
variable per-patient cost for phase III |
c02 |
fixed cost for phase II |
c03 |
fixed cost for phase III |
K |
constraint on the costs of the program, default: |
N |
constraint on the total expected sample size of the program, default: |
S |
constraint on the expected probability of a successful program, default: |
b1 |
expected gain for effect size category "small" |
b2 |
expected gain for effect size category "medium" |
b3 |
expected gain for effect size category "large" |
strategy |
choose strategy: 1 (only the best promising candidate), 2 (all promising candidates) or 3 (both strategies) |
num_cl |
number of clusters used for parallel computing, default: 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.