Learn R Programming

esDesign (version 1.0.3)

AED1_SSR.CP: Calculate the conditional power of the Adaptive Enrichment Design with (Strategy 1) Sample Size Re-estimation Procedure

Description

The AED1_SSR.CP() is used to calculate the conditional power of the Adaptive Enrichment Design (Strategy 1) with sample size re-estimation procedure

Usage

AED1_SSR.CP(c, Z1, N1, N2)

Arguments

c

The critical value used at the final analysis

Z1

The test statistic obtained at the interim analysis

N1

The sample size used at the first stage

N2

The sample size used at the second stage

Value

A list contains

  • Critical.Value The critical value used at the final analysis

  • Conditional.Power The value of conditional power given the observed data

References

  • Lin, R., Yang, Z., Yuan, Y. and Yin, G., 2021. Sample size re-estimation in adaptive enrichment design. Contemporary Clinical Trials, 100, p.106216. <doi: 10.1016/j.cct.2020.106216>

Examples

Run this code
# NOT RUN {
c <- 2.258
Z1 <- 1.975
N1 <- 248
N2 <- 200
AED1_SSR.CP(c = 2.258, Z1 = 1.974, N1 = 248, N2 = 200)
# }

Run the code above in your browser using DataLab