constructSequentialTest: Construct and Handle Sequential Tests.
Description
These functions handle the construction and calculation with
sequential tests as introduced by Wald (1947). getCVSTTest
constructs a special sequential test as introduced in Krueger
(2011). testSequence test a sequence of 0/1 whether it is
distributed according to H0 or H1.
Number of steps the CVST procedure should be executed.
st
A sequential test of type CVST.sequentialTest.
s
A sequence of 0/1 values.
Value
constructSequentialTest and getCVSTTest return a
CVST.sequentialTest with the specified
properties. testSequence returns 1, if H1 can be expected, -1
if H0 can be accepted, and 0 if the test needs more data for a
decission. plotSequence gives a graphical impression of the
this testing procedure.