prStop: Probabilty of Stopping

Description Usage Arguments Value See Also Examples

View source: R/allFuncs.R

Description

Calculates the probability of stopping at any point in a binary sequential boundary.

Usage

1
prStop(object, theta = NULL)

Arguments

object

an object of class boundEst

theta

probability of a positive response

Value

A list with the following elements

B

the boundEst object inputted

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

powerBsb

Examples

1
2
b<-designOBF(20,theta0=.5)
prStop(b,theta=.5)

binseqtest documentation built on May 29, 2017, 3:16 p.m.

Search within the binseqtest package
Search all R packages, documentation and source code