PT - JOURNAL ARTICLE AU - Leonid Hanin TI - The Mathematics of Testing with Application to Prevalence of COVID-19 AID - 10.1101/2020.05.31.20118703 DP - 2020 Jan 01 TA - medRxiv PG - 2020.05.31.20118703 4099 - http://medrxiv.org/content/early/2020/06/02/2020.05.31.20118703.short 4100 - http://medrxiv.org/content/early/2020/06/02/2020.05.31.20118703.full AB - We formulate three basic assumptions that should ideally guide any well-designed COVID-19 prevalence study. We provide, on the basis of these assumptions alone, a full derivation of mathematical formulas required for statistical analysis of testing data. In particular, we express the disease prevalence in a population through those for its homogeneous subpopulations. Although some of these formulas are routinely employed in prevalence studies, the study design often contravenes the assumptions upon which these formulas vitally depend. We also designed a natural prevalence estimator from the testing data and studied some of its properties. The results are equally valid for diseases other than COVID-19 as well as in non-epidemiological settings.Competing Interest StatementThe authors have declared no competing interest.Clinical TrialN/AFunding StatementNo external funding for this research was received.Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.YesThe details of the IRB/oversight body that provided approval or exemption for the research described are given below:No IRB approval was required for this research.All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.YesAll the data is provided in the manuscript itself.