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_tte()
function
Ess_multiple_tte(HRgo, n2, alpha, beta, hr1, hr2, id1, id2, fixed, rho)
the output of the function Ess_multiple_tte()
is the expected number of participants in phase III
threshold value for the go/no-go decision rule;
total sample size for phase II; must be even number
one- sided significance level
1-beta
power for calculation of the number of events for phase III by Schoenfeld (1981) formula
assumed true treatment effect on HR scale for endpoint OS
assumed true treatment effect on HR scale for endpoint PFS
amount of information for hr1
in terms of number of events
amount of information for hr2
in terms of number of events
choose if true treatment effects are fixed or random
correlation between the two endpoints