Learn R Programming

GroupSeq (version 1.0)

asOBF: approximates O'Brien and Fleming-type

Description

This alpha spending function approximates alphaStar-function O'Brien and Fleming-type.

Usage

asOBF(alpha, tk, OneOrTwoSidedBounds)

Arguments

alpha
is the desired overall size.
tk
is current point of time
OneOrTwoSidedBounds
One-('OneOrTwoSidedBounds'==1) or Two-sided bounds('OneOrTwoSidedBounds'==2) are used

Value

  • see description

See Also

groupseq, alphaByUseFunction, asPowerFamily asHSdeCani, asPocock

Examples

Run this code
##simple example with result: [1] 0.2578086
asOBF(0.05,3,1)

Run the code above in your browser using DataLab