View source: R/functions_multitrial_binary.R
Epgo23_binary | R Documentation |
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_binary(RRgo, n2, alpha, beta, p0, w, p11, p12, in1, in2)
RRgo |
threshold value for the go/no-go decision rule |
n2 |
total sample size for phase II; must be even number |
alpha |
significance level |
beta |
|
p0 |
assumed true rate of control group |
w |
weight for mixture prior distribution |
p11 |
assumed true rate of treatment group |
p12 |
assumed true rate of treatment group |
in1 |
amount of information for |
in2 |
amount of information for |
The output of the function Epgo23_binary()
is the probability to a third phase III trial.
res <- Epgo23_binary(RRgo = 0.8, n2 = 50, p0 = 0.3, w = 0.3, alpha = 0.025, beta = 0.1,
p11 = 0.3, p12 = 0.5, in1 = 300, in2 = 600)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.