Drift | R Documentation |
Calculate the drift value with given upper bounds (z-valuse), times of test, and power.
Drift(bi, ti=NULL, Power=0.9)
bi |
upper bound z-values |
ti |
times of test. These should be in the range of [0, 1]. If omitted, even-interval is assumed. |
Power |
target power at the final test |
It calculates the drift value with given upper bound z-values, times of test, and power. If the times of test is not given, even-interval is assumed. mvtnorm::pmvt
(with noncentrality) is better than pmvnorm in calculating power and sample size. But, Lan-DeMets used multi-variate normal rather than multi-variate noncentral t distributionh. This function followed Lan-DeMets for the consistency with previous results.
Drift value for the given condition
Kyun-Seop Bae k@acr.kr
Reboussin DM, DeMets DL, Kim K, Lan KKG. Computations for group sequential boundaries using the Lan-DeMets function method. Controlled Clinical Trials. 2000;21:190-207.
Drift(seqBound(ti=(1:5)/5)[, "up.bound"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.