Let's start off with writing down the mathematical definitions for the statistical measures of interest to us. From there we can work our way up to an example.
Sensitivity measures the percentage of true positives that are correctly identified as being positive.
Specificity measures the percentage of true negatives that are correctly identified as being negative.
The positive predictive value (PPV) or P(D|+) is the probability that the subject has the disease given that the test is positive. To calculate PPV, we will need the probability of a positive test result given disease P(+|D) and its complement, no disease P(+|DC)
Diagnostic Likelihood Ratios measure the post-test odds (after test) compared to pre-test odds (before test) of either having the disease or not.
Ok, so we've got the definitions down, let's work through an example.
At the moment there are approximately 8,000 people infected with COVID-19
living in the city of San Francisco. With a population of ~ 1 million people,
calculate both the DLR+ and PPV. How can we interpret these results? Assume a
pharmaceutical company has developed an antibody (Ab) test with a sensitivity
of 93% percent and a specificity 99% percent. `
We first need to calculate the prevalence of disease p(D) = 8,000/1,000,000 = .008 and using the p(D) we can calculate the probability of no disease p(DC) = (1 - p(D)) = .992
Now from the PPV formula, we need to know the probability of a person testing positive for COVID-19 even though they actually don't have it p(+|DC) = 1 - p(-|DC) = 1 - specificity = .01.
PPV = (.93*.008) / (.93*.008 + .01*.992) ~ .43
DLR+ = Sensitivity / (1 - Specificity) = .93 / (1 - .99) = 93
So what do these numbers actually mean? How can we interpret DLR+ and PPV?
The PPV calculation suggests that after testing positive for the disease, we actually only have a ~ 43% of actually having the disease. Interesting right.
The DLR+ tells us that a positive test result increases the post-test odds of disease by 93X compared to pre-test odds. The hypothesis of disease is 93X more supported by data than a hypothesis of no disease.
Hopes this helps. A final note: In reality, there are a lot of asymptomatic people with COVID-19 who don't get tested but are nonetheless positive (more true positives). What changes in the problem above?