powered by
The AED1_SSR.sim() is used to conduct the simulation study of the Adaptive Enrichment Design (Strategy 1) with Sample Size Re-estimation procedure
AED1_SSR.sim()
AED1_SSR.sim( N1, rho, alpha, beta, pstar, theta, theta0, Info, K = 2, epsilon, sigma0, nSim, Seed )
The sample size used at the first stage
The proportion of subgroup 1 among the overall patients
The overall Type I error rate
The (1 - Power)
The (1 - power) of accepting the null hypothesis at the interim analysis.
(1 - power)
The sizes of the treatment effect in subgroups 1 and 2 with the experimental arm
The size of the treatment effect in standard arm
The observation information
The number of subgroups. The default value is K = 2
K = 2
The threshold of the difference between the subgroup-specific test statistic
The variance of the treatment effect
The number of simulated studies
The random seed
A list contains
nTotal The average expected sample size
H00 The probability of rejecting the null hypothesis of \(H_{00}\)
H01 The probability of rejecting the null hypothesis of \(H_{01}\)
H02 The probability of rejecting the null hypothesis of \(H_{02}\)
H0 The probabilities of rejecting at least one of the null hypothesis
ESF The probability of early stopping for futility
ESE The probability of early stopping for efficacy
Enrich01 The prevalence of adaptive enrichment of subgroup 1
Enrich02 The prevalence of adaptive enrichment of subgroup 2
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>
# NOT RUN { res <- AED1_SSR.sim( N1 = 310, rho = 0.5, alpha = 0.05, beta = 0.2, pstar = 0.2, theta = c(0,0), theta0 = 0, Info = 0.5, epsilon = 0.5, sigma0 = 1, nSim = 1000, Seed = 6) # }
Run the code above in your browser using DataLab