AED3_SSR.boundary: Calculate the futility and efficacy stopping boundaries in...

Description Usage Arguments Value Examples

View source: R/esDesign.R

Description

The AED3_SSR.boundary() is used to calculate the futility and efficacy stopping boundaries in the Adaptive Enrichment Design with Sample Size Re-estimation Procedure.

Usage

1
AED3_SSR.boundary(rho, alpha, pstar)

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.

Value

A list contains

Examples

1
2
3
4
rho <- 0.5
alpha <- 0.05
pstar <- 0.15
res <- AED3_SSR.boundary(rho = rho, alpha = alpha, pstar = pstar)

Example output

Futility/Efficacy stopping boundaries for AED3-SSR:

The futility stopping boundary =  1.036 .
The efficacy stopping boundary =  2.212 .

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