Learn R Programming

drugdevelopR (version 1.0.2)

Epgo23_binary: Expected probability to do third phase III trial

Description

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.

Usage

Epgo23_binary(RRgo, n2, alpha, beta, p0, w, p11, p12, in1, in2)

Value

The output of the function Epgo23_binary() is the probability to a third phase III trial.

Arguments

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

1-beta power for calculation of sample size for phase III

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 p11 in terms of sample size

in2

amount of information for p12 in terms of sample size

Examples

Run this code
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)

Run the code above in your browser using DataLab