Our Model

Context

During WWII, R. Dorfman proposed the use of batch testing techniques as a response to the low availability of tests for massive testing.

During the recent CoVid-19 crisis, many researches brought to light the need of massive testing to fight and mitigate the disease consequences (See here or here).

However, some articles, like the ones posted on Washington Post or by French leading Engineering School École Polytechnique, lack in providing the mathematical foundation and tools to define the size of an ideal batch to use when everyone should be effectively tested. Both examples in the articles simply suggest as example to use a batch of 50 individuals, namely, to set a group size as the inverse of the infection probability. Both approaches lack some deeper mathematical analysis that could help find the best batch size.

Our approach

Mathematically we can demonstrate that the ideal batch size will be dependent on the probability of infection for a given population, thus a fixed batch size is usually sub-optimal. Secondly, it is also clear that the approximation of the inverse of the infection probability is valid only for low values of that same probability, and therefore not applicable to any probability values, or in cases where we will not retest the elements of a group that tested positive.

Assumptions

Definitions

Objective

Find the value of $k$ that provides the minimum expected number of tests required to test a population of size $N$ with a probability of infection $p$.

Methodology

Consider a batch with $k$ individual samples and test it:

Thus, for a given batch of $k$ members the test should be:

We can finally write that, as an approximation, the expected number of tests needed for $\frac{N}{k}$ groups will be the summation of the total tests, that is given by the sum of the probability of the test be negative times the tests needed (written above to be equal to $1$) and the probability of the test be positive times the tests needed (written above to be equal to $k + 1$):

$\mathbb{E}[tests]=\sum_{i=0}^{N/k} \left[ 1 \times (1-p)^k + (k+1) \times (1-(1-p)^k)\right]$

Example

Model example