Learn R Programming

esDesign (version 1.0.3)

AED2_SSR.boundary: Calculate the futility and efficacy stopping boundaries of the Adaptive Enrichment Design (Strategy 2) with Sample Size Re-estimation Procedure

Description

The AED2_SSR.boundary() is used to calculate the futility and efficacy stopping boundaries of the Adaptive Enrichment Design (strategy 2) with Sample Size Re-estimation Procedure. In the AED2-SSR design, an \(\epsilon\)-rule is introduced to select the subgroup with larger test statistic. In practice, the value of \(\epsilon\) should be calibrated to fit the requirement of the trial.

Usage

AED2_SSR.boundary(rho, alpha, pstar, epsilon)

Arguments

rho

The proportion of subgroup 1

alpha

The overall Type I error rate

pstar

The (1 - power) of accepting the null hypothesis at the interim analysis.

epsilon

The threshold of difference between the subgroup-specific test statistics

Value

A list contains

  • upper.boundary The upper and efficacy stopping boundary

  • lower.boundary The lower and futility stopping boundary

Examples

Run this code
# NOT RUN {
rho <- 0.5
alpha <- 0.05
pstar <- 0.15
epsilon <- 0.5
AED2_SSR.boundary(rho = rho, alpha = alpha, pstar = pstar, epsilon = epsilon)
# }

Run the code above in your browser using DataLab