Given phase II results are promising enough to get the "go"-decision to go to phase III this function now calculates the expected sample size for phase III.
The results of this function are necessary for calculating the utility of the program, which is then in a further step maximized by the optimal_multiple_normal()
function
Ess_multiple_normal(
kappa,
n2,
alpha,
beta,
Delta1,
Delta2,
in1,
in2,
sigma1,
sigma2,
fixed,
rho,
rsamp
)
the output of the function Ess_multiple_normal is the expected number of participants in phase III
threshold value for the go/no-go decision rule; vector for both endpoints
total sample size for phase II; must be even number
significance level
1-beta power for calculation of sample size for phase III
assumed true treatment effect given as difference in means for endpoint 1
assumed true treatment effect given as difference in means for endpoint 2
amount of information for Delta1 in terms of sample size
amount of information for Delta2 in terms of sample size
standard deviation of first endpoint
standard deviation of second endpoint
choose if true treatment effects are fixed or random, if TRUE Delta1 is used as fixed effect
correlation between the two endpoints
sample data set for Monte Carlo integration