Epgo_tte: Expected probability to go to phase III for time-to-event...

View source: R/functions_tte.R

Epgo_tteR Documentation

Expected probability to go to phase III for time-to-event outcomes

Description

Expected probability to go to phase III for time-to-event outcomes

Usage

Epgo_tte(HRgo, d2, w, hr1, hr2, id1, id2, fixed)

Arguments

HRgo

threshold value for the go/no-go decision rule

d2

total number of events for phase II; must be even number

w

weight for mixture prior distribution

hr1

first assumed true treatment effect on HR scale for prior distribution

hr2

second assumed true treatment effect on HR scale for prior distribution

id1

amount of information for hr1 in terms of number of events

id2

amount of information for hr2 in terms of number of events

fixed

choose if true treatment effects are fixed or random, if TRUE hr1 is used as fixed effect

Value

The output of the functions Epgo_tte() is the expected probability to go to phase III.

Examples

res <- Epgo_tte(HRgo = 0.8, d2 = 50,  
                                w = 0.3, hr1 = 0.69, hr2 = 0.81, 
                                id1 = 280, id2 = 420, fixed = FALSE)

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