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;