Diagnostic tests 4: likelihood ratiosBMJ 2004; 329 doi: https://doi.org/10.1136/bmj.329.7458.168 (Published 15 July 2004) Cite this as: BMJ 2004;329:168
- Jonathan J Deeks (), senior research biostatistician1,
- Douglas G Altman, professor of statistics in medicine2
- 1 Screening and Test Evaluation Program, School of Public Health, University of Sydney, NSW 2006, Australia
- 2 Cancer Research UK/NHS Centre for Statistics in Medicine, Institute for Health Sciences, Oxford OX3 7LF
- Correspondence to: Mr Deeks
The properties of a diagnostic or screening test are often described using sensitivity and specificity or predictive values, as described in previous Notes.1 2 Likelihood ratios are alternative statistics for summarising diagnostic accuracy, which have several particularly powerful properties that make them more useful clinically than other statistics.3
Each test result has its own likelihood ratio, which summarises how many times more (or less) likely patients with the disease are to have that particular result than patients without the disease. More formally, it is the ratio of the probability of the specific test result in people who do have the disease to the probability in people who do not.
A likelihood ratio greater than 1 indicates that the test result is associated with the presence of the disease, whereas a likelihood ratio less than 1 indicates that the test result is associated with the absence of disease. The further likelihood ratios are from 1 the stronger the evidence for the presence or absence of disease. Likelihood ratios above 10 and below 0.1 are considered to provide strong evidence to rule in or rule out diagnoses respectively in most circumstances.4 When tests report results as being either positive or negative the two likelihood ratios are called the positive likelihood ratio and the negative likelihood ratio.
The table shows the results of a study of the value of a history of smoking in diagnosing obstructive airway disease.5 Smoking history was categorised into four groups according to pack years smoked (packs per day x years smoked). The likelihood ratio for each category is calculated by dividing the percentage of patients with obstructive airway disease in that category by the percentage without the disease in that category. For example, among patients with the disease 28% had 40+ smoking pack years compared with just 1.4% of patients without the disease. The likelihood ratio is thus 28.4/1.4 = 20.3. A smoking history of more than 40 pack years is strongly predictive of a diagnosis of obstructive airway disease as the likelihood ratio is substantially higher than 10. Although never smoking or smoking less than 20 pack years both point to not having obstructive airway disease, their likelihood ratios are not small enough to rule out the disease with confidence.
Calculation of post-test probabilities using likelihood ratios
Pretest probability = p1 =0.1
pretest odds = p1/(1-p1) = 0.1/0.9 = 0.11
post-test odds = pretest odds × likelihood ratio
post-test odds = o2 = 0.11 × 20.43 = 2.27
Post-test probability = o2/(1+ o2) = 2.27/3.37 = 0.69
Likelihood ratios are ratios of probabilities, and can be treated in the same way as risk ratios for the purposes of calculating confidence intervals.6
For a test with only two outcomes, likelihood ratios can be calculated directly from sensitivities and specificities.1 For example, if smoking habit is dichotomised as above or below 40 pack years, the sensitivity is 28.4% (42/148) and specificity 98.6% (142/144). The positive likelihood ratio is the proportion with obstructive airway disease who smoked more than 40 pack years (sensitivity) divided by the proportion without disease who smoked more than 40 pack years (1-specificity), 28.4/1.4 = 20.3, as before. The negative likelihood ratio is the proportion with disease who smoked less than 40 pack years (1-sensitivity) divided by the proportion without disease who smoked less than 40 pack years (specificity), 71.6/98.6 = 0.73. However, unlike sensitivity and specificity, computation of likelihood ratios does not require dichotomisation of test results. Forcing dichotomisation on multicategory test results may discard useful diagnostic information.
Likelihood ratios can be used to help adapt the results of a study to your patients. To do this they make use of a mathematical relationship known as Bayes theorem that describes how a diagnostic finding changes our knowledge of the probability of abnormality.3 The post-test odds that the patient has the disease are estimated by multiplying the pretest odds by the likelihood ratio. The use of odds rather than risks makes the calculation slightly complex (box) but a nomogram can be used to avoid having to make conversions between odds and probabilities (figure).7 Both the figure and the box illustrate how a prior probability of obstructive airway disease of 0.1 (based, say, on presenting features) is updated to a probability of 0.7 with the knowledge that the patient had smoked for more than 40 pack years.
In clinical practice it is essential to know how a particular test result predicts the risk of abnormality. Sensitivities and specificities1 do not do this: they describe how abnormality (or normality) predicts particular test results. Predictive values2 do give probabilities of abnormality for particular test results, but depend on the prevalence of abnormality in the study sample and can rarely be generalised beyond the study (except when the study is based on a suitable random sample, as is sometimes the case for population screening studies). Likelihood ratios provide a solution as they can be used to calculate the probability of abnormality, while adapting for varying prior probabilities of the chance of abnormality from different contexts.