Two versions of the likelihood ratio exist, one for positive and one for negative test results. Respectively, they are known as the '
(LR+, likelihood ratio positive, likelihood ratio for positive results) and (LR–, likelihood ratio negative, likelihood ratio for negative results'). The positive likelihood ratio is calculated as : \text{LR}+ = \frac{\text{sensitivity}}{1 - \text{specificity}} which is equivalent to : \text{LR}+ = \frac{\Pr({T+}\mid D+)}{\Pr({T+}\mid D-)} or "the probability of a person who
has the disease testing positive divided by the probability of a person who
does not have the disease testing positive." Here "
T+" or "
T−" denote that the result of the test is positive or negative, respectively. Likewise, "
D+" or "
D−" denote that the disease is present or absent, respectively. So "true positives" are those that test positive (
T+) and have the disease (
D+), and "false positives" are those that test positive (
T+) but do not have the disease (
D−). The negative likelihood ratio is calculated as : \text{LR}- = \frac{1 - \text{sensitivity}}{\text{specificity}} which is equivalent to The
pretest odds of a particular diagnosis, multiplied by the likelihood ratio, determines the
post-test odds. This calculation is based on
Bayes' theorem. (Note that odds can be calculated from, and then converted to,
probability.) ==Application to medicine==