pgo_binary: Probability to go to phase III for multiarm programs with...

View source: R/functions_multiarm_binary.R

pgo_binaryR Documentation

Probability to go to phase III for multiarm programs with binary distributed outcomes

Description

Given our parameters this function calculates the probability to go to phase III after the second phase was conducted. The considered strategies are as follows:

    1. Strategy: Only best promising treatment goes to phase III

Usage

pgo_binary(RRgo, n2, p0, p11, p12, strategy, case)

Arguments

RRgo

threshold value for the go/no-go decision rule

n2

total sample size for phase II; must be even number

p0

assumed true rate of control group

p11

assumed true rate of treatment group

p12

assumed true rate of treatment group

strategy

choose Strategy: 1 ("only best promising"), 2 ("all promising")

case

different cases: 1 ("nogo"), 21 (treatment 1 is promising, treatment 2 is not), 22 (treatment 2 is promising, treatment 1 is not), 31 (both treatments are promising, treatment 1 is better), 32 (both treatments are promising, treatment 2 is better)

Value

The function pgo_binary() returns the probability to go to phase III.

Examples

res <- pgo_binary(RRgo = 0.8 ,n2 = 50 ,p0 = 0.6, p11 =  0.3, p12 = 0.5,strategy = 2, case = 31)

Sterniii3/drugdevelopR documentation built on Jan. 26, 2024, 6:17 a.m.