Generic function for optimizing drug development programs
optimal_generic(beta, alpha, c2, c3, c02, c03, K, N, S, b1, b2, b3, num_cl)
variable per-patient cost for phase II
variable per-patient cost for phase III
fixed cost for phase II
fixed cost for phase III
constraint on the costs of the program, default: Inf
, e.g. no constraint
constraint on the total expected sample size of the program, default: Inf
, e.g. no constraint
constraint on the expected probability of a successful program, default: -Inf
, e.g. no constraint
expected gain for effect size category "small"
expected gain for effect size category "medium"
expected gain for effect size category "large"
number of clusters used for parallel computing, default: 1