Learn R Programming

BATSS (version 1.1.1)

fut.arm.simple: arm futility stop

Description

allows stopping an arm for futility when the probability of the corresponding target parameter being greater or smaller (depending on the argument 'alternative' of batss.glm) than 'delta.fut' is smaller than a fixed value 'b'

Usage

fut.arm.simple(posterior, b)

Value

fut.arm.simple returns a logical constant.

Arguments

posterior

the 'BATSS' ingredient 'posterior' corresponding, in this context, to the (posterior) probability of the target parameter being greater or smaller (depending on the argument 'alternative' of batss.glm) than 'delta.fut'.

b

the cut-off value used to declare futility (to be defined in fut.arm.control).