acondpow | R Documentation |
Computes an approximation to the conditional power of a sequential test based on the asymptotic normality of the statistic.
acondpow(za, power, zs, infr)
za |
standard normal critical value at final analysis |
power |
the overall planned power of the sequential test |
zs |
value of the test statistic on the standard normal scale at the current interim analysis |
infr |
information fraction (proportion of total information) at the current interim analysis |
Computes an approximation to the conditional probability of the test being
rejected at the final analysis (i.e., that the test statistic will be >
za
), conditional on the current data, if the alternative for which
the sequential test has power power
is true. The approximation is
based on asymptotic joint normality of the test statistic at the current and
final analysis, and on the increment in the information being independent of
the current data.
The approximate conditional power (a scalar).
condpow
; condpowcure
acondpow(2.0, 0.85, 0.32, 0.41)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.