prStop {binseqtest} | R Documentation |
Calculates the probability of stopping at any point in a binary sequential boundary.
prStop(object, theta = NULL)
object |
an object of class |
theta |
probability of a positive response |
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 |
b<-designOBF(20,theta0=.5)
prStop(b,theta=.5)