bcore {BRDT}R Documentation

Probability Core for Binomial RDT

Description

Define the summed core function inside of the integration which gets the probability of passing the test given specific failure probabilities (for binomial RDT).

Usage

bcore(n, c, pi)

Arguments

n

RDT sample size.

c

Maximum allowable failures.

pi

Failure probability.

Value

Core probability of passing the test given specific failure probabilities.

See Also

boptimal_n for getting the optimal test sample size; bconsumerrisk for getting the consumer's risk; bIndicator for getting the binary indicator;

Examples

bcore(n = 10, c = 2, pi = 0.2)

[Package BRDT version 0.1.0 Index]