Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Close
Download our user-friendly MedCalc statistical software for your Windows desktop. Download

Other calculators ...

Free statistical calculators

Likelihood ratios (2xk table)

Number of levels:
 Status
 PositiveNegative
Level 1:  
Level 2:  

Description

Allows to calculate likelihood ratios for different test levels from a 2xk table.

When test results have a continuous or ordinal outcome then valuable information is lost when the data are dichotomized for the calculation of sensitivity, specificity and likelihood ratios as in ROC curve analysis.

Interval likelihood ratios may be more powerful because they use more information contained in the data.

The likelihood ratio can be used to calculate the post-test probability of disease from the pre-test probability of disease (see below).

Required input

First, select the number of different test levels.

Next, enter the number of cases in the diseased group that test positive and negative at the different test levels.

Interpretation

For each test levels the program calculates corresponding Likelihood ratio with 95% Confidence interval.

Confidence intervals for the likelihood ratios are calculated using the "Log method" as given on page 109 of Altman et al. 2000.

The likelihood ratio can be used to calculate the post-test odds from the pre-test odds of disease:

Calculate the post-test odds from the pre-test odds of disease$$ post\text{-}test\ odds\ =\ pre\text{-}test\ odds\ \times\ likelihood\ ratio $$

The relation between odds and probability is:

Relation between odds and probability$$ odds = \frac {p}{1-p}\ \text{and} \ p=\frac {odds}{1+odds} $$

Using these equations, you can calculate the post-test probability of disease from the pre-test probability of disease.

If, for example, the pre-test probability of disease is 0.6 then the pre-test odds is 0.6/(1-0.6) = 1.5. For a case with a test result corresponding with diagnostic level 2, the likelihood ratio is 12, and the post-test odds is 1.5 x 12 = 18. The post-test probability of disease is 18/(1+18) = 0.95.

Literature

  • Altman DG, Machin D, Bryant TN, Gardner MJ (Eds) (2000) Statistics with confidence, 2nd ed. BMJ Books.
  • Gardner IA, Greiner M (2006) Receiver-operating characteristic curves and likelihood ratios: improvements over traditional methods for the evaluation and application of veterinary clinical pathology tests. Veterinary Clinical Pathology, 35:8-17.

How to cite this page

  • MedCalc Software Ltd. Likelihood ratios (2xk table). https://www.medcalc.org/calc/likelihoodratios.php (Version 23.0.9; accessed December 8, 2024)