dtl_app_get_alpha_t {dtlcor}R Documentation

Minimum significance level for the final stage under drop-the-losers (DTL) design

Description

Get minimum significance level alpha_t (minimum of alpha_s) for the final analysis considering the ranges of response rate q and hazard ratio of responders and non-responders gamma given a pre-specified FWER alpha

Usage

dtl_app_get_alpha_t(n, N, q_seq, gamma_seq, alpha, fix_rho = NULL, delta)

Arguments

n

Number of patients per treatment arm at the DTL look.

N

Total number of patients in both selected and control arms at final analysis.

q_seq

A vector of response rates under the null (can be 95% CI).

gamma_seq

A vector of hazards ratios of responders and non-responders (can be 95% CI).

alpha

A pre-specified FWER.

fix_rho

Use fixed correlation coefficient or use theoretical upper bound to get alpha_t. If = NULL, then it uses upper bound; else if = real number between 0 and 1, then it use such number as fixed correlation coefficient.

delta

Least difference to decide superiority of high dose.

Value

A list of two data frames for minimum significance level alpha_t and significance level alpht_s given all combinations of q_seq and gamma_seq.

Examples

# Inputs
n         = 80    
N         = 152   
q_seq     = seq(0.19, 0.32, 0.01) 
gamma_seq = seq(0.14, 0.34, 0.01) 
alpha     = 0.025
delta     = 0.05  

# Use fixed correlation coefficient
dtl_app_get_alpha_t(n, N, q_seq, gamma_seq, alpha, fix_rho = 1, delta)

# Use theoretical upper bound 
dtl_app_get_alpha_t(n, N, q_seq, gamma_seq, alpha, fix_rho = NULL, delta)


[Package dtlcor version 0.1.0 Index]