Description Usage Arguments Value References Examples
The SSR.CP()
is used to calculate the sample size required
at the second stage and the critical value used at the final analysis. In
addition, this function can also used to conduct the conditional power
analysis in terms of N2
1 |
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 |
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
Proschan MA, Hunsberger SA. Designed extension of studies based on conditional power. Biometrics 1995:1315-1324. <doi:10.2307/2533262>
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.