op.char.gs.fut: Compute the operating characteristics on the group sequential...

View source: R/SurrogateSeq.functions.R

op.char.gs.futR 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)


SurrogateSeq documentation built on April 4, 2025, 12:27 a.m.