bacceptprob: Acceptance Probability for Binomial RDT

Description Usage Arguments Value Examples

View source: R/bacceptprob.R

Description

Define the acceptance probability function which gets the probability of passing the test (for binomial RDT).

Usage

1

Arguments

n

RDT sample size.

c

Maximum allowable failures.

pi

Failure probability.

Value

Acceptance probability

Examples

1
2
pi <- pi_MCSim_beta(M = 5000, seed = 10, a = 1, b = 1)
bacceptprob(n = 10, c = 2, pi = pi);

BRDT documentation built on July 1, 2020, 9:35 p.m.