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)

esDesign documentation built on May 2, 2019, 10:41 a.m.