Description Usage Arguments Value Examples
The AED3_SSR.CP()
is used to calculate the sample size required
at the second stage and the critical value used at the final analysis in the
Adaptive Enrichment Design with Sample Size Re-estimation Procedure. In
addition, this function can also used to conduct the conditional power
analysis in terms of N2
1 2 3 4 5 6 7 8 9 10 |
Z1 |
The test statistic obtained at the interim analysis |
delta |
The standardized size of treatment effect, which can be estimated by using (μ_{X} - μ_{Y})/√{σ^2}. |
N1 |
The sample size used at the first stage |
pstar |
The |
rho |
The proportion of subgroup 1 |
alpha |
The overall Type I error rate |
beta |
The |
N2 |
The pre-specified sample size used at the second stage, which is used to conduct the conditional power analysis |
A list contains
N2 The pre-specified sample size used at the second stage, which is used to implement the conditional power analysis
Conditional.Power The value of conditional power given the value of N2
in the
conditional power analysis
P.Value The corresponding P-Value used at the final analysis in the conditional power analysis
N2.CP The re-estimated sample size of N2
to ensure an adequate
conditional power
c.CP The estimated the critical value used at the final analysis based the conditional power
1 2 3 4 5 6 7 8 9 10 | Z1 <- 1.974
delta <- 0.355
N1 <- 248
pstar <- 0.15
alpha <- 0.05
rho <- 0.5
beta <- 0.20
N2 <- 108
AED3_SSR.CP(Z1 = Z1, delta = delta, N1 = N1, pstar = pstar,
alpha = alpha, rho = rho, beta = beta, N2 = N2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.