Learn R Programming

sasLM (version 0.10.7)

OBFBound: O'Brien-Flemming bounds for cumulative Z-test in Group Sequential Design

Description

Sequential O'Brien-Flemming upper bounds for cumulative Z-test on accumaltive data. Z values are correlated. This is usually used for group sequential design.

Usage

OBFBound(K, alpha=0.05, side=2, ti=NULL, c0=NULL)

Value

The result is a matrix.

ti

time of test

z

O'Brien-Flemming upper z-bound

cum.alpha

cumulative alpha-value

Arguments

K

count of tests including the final

alpha

goal alpha value for the last test at time 0.

side

1=one-side test, 2=two-side test

ti

times for test. These should be [0, 1]. If not specified, equal interval is assumed.

c0

correlation matrix. if not specified, Brownian motion assummed.

Author

Kyun-Seop Bae k@acr.kr

Details

It calculates O'Brien-Flemming upper z-bounds and cumulative alpha-values for the repeated test in group sequential design.

See Also

seqBound, PocockBound

Examples

Run this code
  OBFBound(K=2)
  OBFBound(K=3)
  OBFBound(K=4)
  OBFBound(K=5)

Run the code above in your browser using DataLab