{"title":"A new web application for determining sample size in freedom-from-disease testing with imperfect tests.","authors":"Darren Michael Green","doi":"10.1016/j.prevetmed.2024.106397","DOIUrl":null,"url":null,"abstract":"<p><p>Veterinary surveillance frequently requires study design for freedom-from-disease testing, specifying a sample size to balance higher statistical power with larger sample sizes against increased research and ethics costs, with the recognition that tests can generate false positive and negative results: i.e., tests exhibit imperfect sensitivity and specificity. In this paper, we revisit the mathematics behind exact calculations of sample size in terms of the binomial and hypergeometric distributions, and present a new algorithm - implemented and available to use in R as a Shiny application with a graphical user interface - to determine sample size for practical situations. Often, sample size calculations are based upon simulations or approximations, but we show here that exact calculations are feasible. In addition, we relax the liberal assumption - which provides conservative sample-size estimates - that sensitivity and specificity are known exactly, and instead assume both are Beta distributed with known hyperparameters. The application presented here was originally designed as a learning tool for students and is now made available for wider use.</p>","PeriodicalId":20413,"journal":{"name":"Preventive veterinary medicine","volume":"235 ","pages":"106397"},"PeriodicalIF":2.2000,"publicationDate":"2024-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Preventive veterinary medicine","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1016/j.prevetmed.2024.106397","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"VETERINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Veterinary surveillance frequently requires study design for freedom-from-disease testing, specifying a sample size to balance higher statistical power with larger sample sizes against increased research and ethics costs, with the recognition that tests can generate false positive and negative results: i.e., tests exhibit imperfect sensitivity and specificity. In this paper, we revisit the mathematics behind exact calculations of sample size in terms of the binomial and hypergeometric distributions, and present a new algorithm - implemented and available to use in R as a Shiny application with a graphical user interface - to determine sample size for practical situations. Often, sample size calculations are based upon simulations or approximations, but we show here that exact calculations are feasible. In addition, we relax the liberal assumption - which provides conservative sample-size estimates - that sensitivity and specificity are known exactly, and instead assume both are Beta distributed with known hyperparameters. The application presented here was originally designed as a learning tool for students and is now made available for wider use.
期刊介绍:
Preventive Veterinary Medicine is one of the leading international resources for scientific reports on animal health programs and preventive veterinary medicine. The journal follows the guidelines for standardizing and strengthening the reporting of biomedical research which are available from the CONSORT, MOOSE, PRISMA, REFLECT, STARD, and STROBE statements. The journal focuses on:
Epidemiology of health events relevant to domestic and wild animals;
Economic impacts of epidemic and endemic animal and zoonotic diseases;
Latest methods and approaches in veterinary epidemiology;
Disease and infection control or eradication measures;
The "One Health" concept and the relationships between veterinary medicine, human health, animal-production systems, and the environment;
Development of new techniques in surveillance systems and diagnosis;
Evaluation and control of diseases in animal populations.