(statistics) A procedure used in hypothesis testing based on the ratio of the values of two likelihood functions, one derived from the hypothesis being tested and one without the constraints of the hypothesis under test.
| Sci-Tech Dictionary: likelihood ratio test |
(statistics) A procedure used in hypothesis testing based on the ratio of the values of two likelihood functions, one derived from the hypothesis being tested and one without the constraints of the hypothesis under test.
| 5min Related Video: Likelihood-ratio test |
| Wikipedia: Likelihood-ratio test |
| This article is missing citations or needs footnotes. Please help add inline citations to guard against copyright violations and factual inaccuracies. (September 2009) |
| This article may be more technical than it needs to be. It may require attention from an expert. Please make this article accessible to the widest possible audience. WikiProject Statistics or the Statistics Portal may be able to help recruit an expert on this topic. (November 2008) |
In statistics, a likelihood ratio test is used to compare the fit of two models one of which is nested within the other.
Both models are fitted to the data and their log-likelihood recorded. The test statistic (usually denoted D) is twice the difference in these log-likelihoods:

The model with more parameters will always fit at least as well (have a greater log-likelihood). Whether it fits significantly better and should thus be preferred can be determined by deriving the probability or p-value of the obtained difference D. In many cases, the probability distribution of the test statistic can be approximated by a chi-squared distribution with (df1 − df2) degrees of freedom, where df1 and df2 are the degrees of freedom of models 1 and 2 respectively.
The test requires nested models, that is, models in which the more complex one can be transformed into the simpler by fixing one or more parameters.
In a concrete case, if model 1 has 1 free parameter and a log-likelihood of 8012 and the alternative model has 3 degrees of freedom and a LL of 8024, then the probability of this difference is that of chi-square of 24 = 2·(8024 − 8012) under 2 = 3 − 1 degrees of freedom. Certain assumptions must be met for the statistic to follow a chi-squared distribution and often empirical p-values are computed.
Contents |
The likelihood ratio, often denoted by Λ (the capital Greek letter lambda), is the ratio of the likelihood function varying the parameters over two different sets in the numerator and denominator. A likelihood-ratio test is a statistical test for making a decision between two hypotheses based on the value of this ratio.
It is central to the Neyman–Pearson approach to statistical hypothesis testing, and, like statistical hypothesis testing generally, is both widely used and much criticized; see Criticism, below.
A statistical model is often a parametrized family of probability density functions or probability mass functions f(x | θ). A simple-vs-simple hypotheses test has completely specified models under both the null and alternative hypotheses, which for convenience are written in terms of fixed values of a notional parameter θ:

Note that under either hypothesis, the distribution of the data is fully specified; there are no unknown parameters to estimate. The likelihood ratio test statistic can be written as[1]:

or

where L(θ | x) is the likelihood function. Note that some references may use the reciprocal as the definition.[2] In the form stated here, the likelihood ratio is small if the alternative model is better than the null model and the likelihood ratio test provides the decision rule as:
The values
are usually chosen to obtain a specified significance level α, through the relation:
. The Neyman-Pearson lemma states that this likelihood ratio test is the most powerful among all level-α tests for this problem.
A null hypothesis is often stated by saying the parameter θ is in a specified subset Θ0 of the parameter space Θ.

The likelihood function is L(θ | x) = f(x | θ) (with f(x | θ) being the pdf or pmf) is a function of the parameter θ with x held fixed at the value that was actually observed, i.e., the data. The likelihood ratio test statistic is [3]

A likelihood ratio test is any test with critical region (or rejection region) of the form
where c is any number satisfying
. Many common test statistics such as the Z-test, the F-test, Pearson's chi-square test and the G-test are tests for nested models and can be phrased as log-likelihood ratios or approximations thereof.
Being a function of the data x, the LR is therefore a statistic. The likelihood-ratio test rejects the null hypothesis if the value of this statistic is too small. How small is too small depends on the significance level of the test, i.e., on what probability of Type I error is considered tolerable ("Type I" errors consist of the rejection of a null hypothesis that is true).
The numerator corresponds to the maximum probability of an observed outcome under the null hypothesis. The denominator corresponds to the maximum probability of an observed outcome varying parameters over the whole parameter space. The numerator of this ratio is less than the denominator. The likelihood ratio hence is between 0 and 1. Lower values of the likelihood ratio mean that the observed result was much less likely to occur under the null hypothesis as compared to the alternate. Higher values of the statistic mean that the observed outcome was more than or equally likely or nearly as likely to occur under the null hypothesis as compared to the alternate, and the null hypothesis cannot be rejected.
If the distribution of the likelihood ratio corresponding to a particular null and alternative hypothesis can be explicitly determined then it can directly be used to form decision regions (to accept/reject the null hypothesis). In most cases, however, the exact distribution of the likelihood ratio corresponding to specific hypotheses is very difficult to determine. A convenient result, though, says that as the sample size n approaches
, the test statistic − 2log(Λ) for a nested model will be asymptotically χ2 distributed with degrees of freedom equal to the difference in dimensionality of Θ and Θ0. This means that for a great variety of hypotheses, a practitioner can compute the likelihood ratio Λ for the data and compare − 2log(Λ) to the chi squared value corresponding to a desired statistical significance as an approximate statistical test.
One example of a likelihood ratio would be the likelihood that a given test result would be expected in a patient with a certain disorder compared to the likelihood that same result would occur in a patient without the target disorder.
Some sources distinguish between LR+ and LR−.[4] A worked example is shown below.
| Condition (as determined by "Gold standard") |
||||
| Positive | Negative | |||
| Test outcome |
Positive | True Positive | False Positive (Type I error, P-value) |
→ Positive predictive value |
| Negative | False Negative (Type II error) |
True Negative | → Negative predictive value | |
| ↓ Sensitivity |
↓ Specificity |
|||
| Patients with bowel cancer (as confirmed on endoscopy) |
||||
| Positive | Negative | ? | ||
| FOB test |
Positive | TP = 2 | FP = 18 | = TP / (TP + FP) = 2 / (2 + 18) = 2 / 20 ≡ 10% |
| Negative | FN = 1 | TN = 182 | = TN / (TN + FN) 182 / (1 + 182) = 182 / 183 ≡ 99.5% |
|
| ↓ = TP / (TP + FN) = 2 / (2 + 1) = 2 / 3 ≡ 66.67% |
↓ = TN / (FP + TN) = 182 / (18 + 182) = 182 / 200 ≡ 91% |
|||
Related calculations
Hence with large numbers of false positives and few false negatives, a positive FOB screen test is in itself poor at confirming cancer (PPV = 10%) and further investigations must be undertaken, it will, however, pick up 66.7% of all cancers (the sensitivity). However as a screening test, a negative result is very good at reassuring that a patient does not have cancer (NPV = 99.5%) and at this initial screen correctly identifies 91% of those who do not have cancer (the specificity).
An example, in the case of Pearson's test, we might try to compare two coins to determine whether they have the same probability of coming up heads. Our observation can be put into a contingency table with rows corresponding to the coin and columns corresponding to heads or tails. The elements of the contingency table will be the number of times the coin for that row came up heads or tails. The contents of this table are our observation X.
| Heads | Tails | |
| Coin 1 | k1H | k1T |
| Coin 2 | k2H | k2T |
Here Θ consists of the parameters p1H, p1T, p2H, and p2T, which are the probability that coin 1 (2) comes up heads (tails). The hypothesis space H is defined by the usual constraints on a distribution,
, and piH + piT = 1. The null hypothesis H0 is the sub-space where p1j = p2j. In all of these constraints, i = 1,2 and j = H,T.
Writing nij for the best values for pij under the hypothesis H, maximum likelihood is achieved with

Writing mij for the best values for pij under the null hypothesis H0, maximum likelihood is achieved with

which does not depend on the coin i.
The hypothesis and null hypothesis can be rewritten slightly so that they satisfy the constraints for the logarithm of the likelihood ratio to have the desired nice distribution. Since the constraint causes the two-dimensional H to be reduced to the one-dimensional H0, the asymptotic distribution for the test will be χ2(1), the χ2 distribution with one degree of freedom.
For the general contingency table, we can write the log-likelihood ratio statistic as

Bayesian criticisms of classical likelihood ratio tests focus on two issues:[citation needed]
Instead they put forward methods such as Bayes factors, which explicitly take uncertainty about the parameters into account, and which are based on the evidence that did occur.
There are two frequentist replies to this critique.[citation needed] The first is that in practice, likelihood ratio tests are used as the basis of confidence intervals, which do reflect the uncertainty about θ – though in turn there is Bayesian criticism of confidence intervals as themselves ill-conceived, and that credible intervals are a better alternative. The second is that likelihood ratio tests provide a practicable approach to statistical inference – they can easily be computed, by contrast to Bayesian posterior probabilities, which are more computationally intensive. The Bayesian reply to the latter is that computers obviate any such advantage.
It has been suggested that the results of diagnostic tests could be more accurately interpreted if presented in terms of likelihood ratios [5]. A large likelihood ratio, for example 10 or more, suggests the disease is present, while small ratios (<0.1), help rule out disease[6].
In practice, however, physicians rarely make these calculations[7] and when they do, they often make errors.[8] A randomized controlled trial compared how well physicians interpreted diagnostic tests that were presented as either sensitivity and specificity, a likelihood ratio, or an inexact graphic of the likelihood ratio, found no difference between the three modes in interpretation of test results.[9]
|
||||||||||||||||||||||||||
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Best of the Web: Likelihood-ratio test |
Some good "Likelihood-ratio test" pages on the web:
Math mathworld.wolfram.com |
| goodness-of-fit test | |
| LRT | |
| Wald test |
| What is the likelihood of a false negative to a pregnancy blood test after undergoing In Vitro? | |
| What is formula for acid test ratio? | |
| Banks have an acid test ratio? |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Likelihood-ratio test". Read more |