op.char.gs.fut {SurrogateSeq} | R Documentation |
Compute the operating characteristics on the group sequential test with futility stopping statistics in paths
Description
Compute the operating characteristics on the group sequential test with futility stopping statistics in paths: The expected stopping stage no., plus the probability of rejecting the null in favor of the 2-sided alternative. This is for a general GS test which uses the boundaries in bndry.vec.
Usage
op.char.gs.fut(b.vec, a.vec, paths)
Arguments
b.vec |
"null-rejection" boundaries, should be >= 0, and a.vec[n.stg] = b.vec[n.stg]. |
a.vec |
futility boundaries, should be >= 0, and a.vec[n.stg] = b.vec[n.stg];a.vec[j]=0 means no futility stopping at stage j. |
paths |
matrix of test statistic sample paths, each row being a sample path, no. of columns is max number |
Value
Returns a list:
EM |
expected stopping stage number |
se.M |
standard error of stopping time |
prej |
prob. of rejecting the null (at any stage) |
[Package SurrogateSeq version 1.0 Index]