Description Usage Arguments Value Examples

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.

1 | ```
AED2_SSR.boundary(rho, alpha, pstar, epsilon)
``` |

`rho` |
The proportion of subgroup 1 |

`alpha` |
The overall Type I error rate |

`pstar` |
The |

`epsilon` |
The threshold of difference between the subgroup-specific test statistics |

A list contains

upper.boundary The upper and efficacy stopping boundary

lower.boundary The lower and futility stopping boundary

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.