prStop {binseqtest} | R Documentation |
Probabilty of Stopping
Description
Calculates the probability of stopping at any point in a binary sequential boundary.
Usage
prStop(object, theta = NULL)
Arguments
object |
an object of class |
theta |
probability of a positive response |
Value
A list with the following elements
B |
the |
Nupper |
vector of N values for stopping on upper boundary |
dStopUpper |
vector of probabilities for stopping at each value of Nupper |
pStopUpper |
vector of cumulative probabilities for stopping by each value of Nupper |
Nlower |
vector of N values for stopping on lower boundary |
dStopLower |
vector of probabilities for stopping at each value of NLower |
pStopLower |
vector of cumulative probabilities for stopping by each value of NLower |
Nend |
N value at the end of the boundary, i.e., max(N) |
dStopEnd |
probability of stopping at the end of the boundary |
check |
check value, should be 1 or very close to it |
See Also
Examples
b<-designOBF(20,theta0=.5)
prStop(b,theta=.5)
[Package binseqtest version 1.0.4 Index]