Simulated true prevalence estimates from survey testing with an imperfect test

Input Values


Estimate the true prevalence of infection from survey testing results, using a test with imperfect sensitivity and specificity.

Sensitivity and specificity estimates are specified as Beta probability distributions, with parameters alpha and beta. Beta probability distributions are commonly used to express uncertainty about a proportion based on a random sample of individuals. In this situation, if there are x "successes" out of n individuals examined, then the alpha and beta parameters can be calculated as alpha = x + 1 and beta = n - x + 1. Alternatively, alpha and beta can be calculated using the Beta distribution utility, provided estimates of the mode and 5% or 95% confidence limits are available from expert opinion or other data.

Simulated true prevalence estimates are calculated as described by:
Rogan and Gladen (1978). Estimating prevalence from the results of a screening test. American Journal of Epidemiology 107:71-76.

Outputs include a table and graphs summarising the probability distributions for true and apparent prevalence and test sensitivity and specificity.

Number tested:
Number positive:
Enter alpha and beta parameters for Beta distributions for:
Test Sensitivity:
Test Specificity:
Confidence level:
Number of iterations:


  Home  |   About this site  |   Glossary   |   References   |   Links  

This site was created by Ausvet with funding from a range of sources.
It provides a range of epidemiological tools for the use of researchers and epidemiologists, particularly in animal health.
Please send any comments, questions or suggestions to Evan Sergeant
© 2019 Ausvet