EPsProg_tte: Expected probability of a successful program for...

View source: R/functions_tte.R

EPsProg_tteR Documentation

Expected probability of a successful program for time-to-event outcomes

Description

Expected probability of a successful program for time-to-event outcomes

Usage

EPsProg_tte(
  HRgo,
  d2,
  alpha,
  beta,
  step1,
  step2,
  w,
  hr1,
  hr2,
  id1,
  id2,
  gamma,
  fixed
)

Arguments

HRgo

threshold value for the go/no-go decision rule

d2

total events for phase II; must be even number

alpha

significance level

beta

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

step1

lower boundary for effect size

step2

upper boundary for effect size

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

gamma

difference in treatment effect due to different population structures in phase II and III

fixed

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

Value

The output of the functions EPsProg_tte() is the expected probability of a successful program.

Examples

res <- EPsProg_tte(HRgo = 0.8, d2 = 50, 
                           alpha = 0.025, beta = 0.1, 
                           step1 = 1, step2 = 0.95, 
                           w = 0.3, hr1 = 0.69, hr2 = 0.81,
                           id1 = 280, id2 = 420,
                           gamma = 0, fixed = FALSE)

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