In the setting of Case 2: Strategy 2/2( + 1); at least two trials significant (and the treatment effect of the other one at least showing in the same direction) this function calculates the probability that a third phase III trial is necessary.
Epgo23(HRgo, d2, alpha, beta, w, hr1, hr2, id1, id2)
The output of the function Epgo23()
is the probability to a third phase III trial.
threshold value for the go/no-go decision rule
total number of events in phase II
significance level
1-beta
power for calculation of sample size for phase III
weight for mixture prior distribution
first assumed true treatment effect on HR scale for prior distribution
second assumed true treatment effect on HR scale for prior distribution
amount of information for hr1
in terms of number of events
amount of information for hr2
in terms of number of events
res <- Epgo23(HRgo = 0.8, d2 = 50, w = 0.3, alpha = 0.025, beta = 0.1,
hr1 = 0.69, hr2 = 0.81, id1 = 280, id2 = 420)
Run the code above in your browser using DataLab