Learn R Programming

esDesign (version 1.0.3)

AED1_SSR.N2: Calculate the sample size required at the second stage of the adaptive enrichment design (Strategy1) with Sample Size Re-estimation Procedure

Description

The AED1_SSR.N2() is used to calculated the sample size required at the second stage of the Adaptive Enrichment Design (Strategy 1) with Sample Size Re-estimation Procedure.

Usage

AED1_SSR.N2(c, z1, N1, beta)

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

beta

The (1 - power)

Value

The Value of the re-estimated sample size

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.974
N1 <- 248
beta <- 0.2
AED1_SSR.N2(c = c, z1 = z1, N1 = N1, beta = beta)

# }

Run the code above in your browser using DataLab