AED2_SSR.boundary: Calculate the futility and efficacy stopping boundaries of...

Description Usage Arguments Value Examples

View source: R/esDesign.R

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 ε-rule is introduced to select the subgroup with larger test statistic. In practice, the value of ε should be calibrated to fit the requirement of the trial.

Usage

1
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

Examples

1
2
3
4
5
rho <- 0.5
alpha <- 0.05
pstar <- 0.15
epsilon <- 0.5
AED2_SSR.boundary(rho = rho, alpha = alpha, pstar = pstar, epsilon = epsilon)

Example output

Futility/Efficacy stopping boundaries for AED2-SSR:

The futility stopping boundary = 1.036 .
The efficacy stopping boundary = 2.194 .
$upper.boundary
[1] 2.194282

$lower.boundary
[1] 1.036433

esDesign documentation built on July 13, 2021, 9:06 a.m.