# Likelihood function

Talk0
31,726pages on
this wiki
Revision as of 06:08, August 31, 2006 by Lifeartist (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language | Individual differences | Personality | Philosophy | Social |
Methods | Statistics | Clinical | Educational | Industrial | Professional items | World psychology |

Statistics: Scientific method · Research methods · Experimental design · Undergraduate statistics courses · Statistical tests · Game theory · Decision theory

Likelihood as a solitary term is a shorthand for likelihood function. In the colloquial language, "likelihood" is one of several informal synonyms for "probability", but throughout this article only the technical definition is used.

In a sense, likelihood works backwards from probability: given $B$, we use the conditional probability $P(A | B)$ to reason about $A$, and, given $A$, we use the likelihood function $P(A | B)$ to reason about $B$. This mode of reasoning is formalized in Bayes' theorem; note the appearance of a likelihood function for $B$ given $A$ in:

$P(B \mid A) = \frac{P(A \mid B)\;P(B)}{P(A)}\!$

since, as functions of $B$, both $P(A | B)$ and $\frac{P(A | B)}{P(A)}$ are likelihood functions for $B$ given $A$.

In statistics, a likelihood function is a conditional probability function considered a function of its second argument with its first argument held fixed, thus:

$b\mapsto P(A \mid B=b), \!$

and also any other function proportional to such a function. That is, the likelihood function for B is the equivalence class of functions

$L(b \mid A) = \alpha \; P(A \mid B=b) \!$

for any constant of proportionality $\alpha > 0$. Thus the numerical value $L(b | A)$ is immaterial; all that matters are ratios of the form

$\frac{L(b_2 | A)}{L(b_1 | A)}, \!$

since these are invariant with respect to the constant of proportionality.

For more about making inferences via likelihood functions, see also the method of maximum likelihood, and likelihood-ratio testing.

## Concentrated likelihood

For a likelihood function of more than one parameter, it is sometimes possible to write some parameters as functions of other parameters, thereby reducing the number of independent parameters. (The function is the parameter value which maximises the likelihood given the value of the other parameters.) This procedure is called concentration of the parameters and results in the concentrated likelihood function.

For example, consider a regression analysis model with normally distributed errors. The most likely value of the error variance is the variance of the residuals. The residuals depend on all other parameters. Hence the variance parameter can be written as a function of the other parameters.

## Historical remarks

Some early thoughts on likelihood were made in a book by Thorvald N. Thiele published in 1889[1]. The first paper where the full idea of the "likelihood" appears was written by R.A. Fisher in 1922[2]: "On the mathematical foundations of theoretical statistics". In that paper, Fisher also uses the term "method of maximum likelihood". Fisher argues against inverse probability as a basis for statistical inferences, and instead proposes inferences based on likelihood functions.

## Likelihood function of a parametrized model

Among many applications, we consider here one of broad theoretical and practical importance. Given a parametrized family of probability density functions

$x\mapsto f(x\mid\theta), \!$

where θ is the parameter (in the case of discrete distributions, the probability density functions are probability "mass" functions) the likelihood function is

$L(\theta \mid x)=f(x\mid\theta),$

where x is the observed outcome of an experiment. In other words, when f(x | θ) is viewed as a function of x with θ fixed, it is a probability density function, and when viewed as a function of θ with x fixed, it is a likelihood function.

Note: This is not the same as the probability that those parameters are the right ones, given the observed sample. Attempting to interpret the likelihood of a hypothesis given observed evidence as the probability of the hypothesis is a common error, with potentially disastrous real-world consequences in medicine, engineering or jurisprudence. See prosecutor's fallacy for an example of this.

## Example

For example, if I toss a coin, with a probability pH of landing heads up ('H'), the probability of getting two heads in two trials ('HH') is pH2. If pH = 0.5, then the probability of seeing two heads is 0.25.

In symbols, we can say the above as

$P(\mbox{HH} \mid p_H = 0.5) = 0.25$

Another way of saying this is to reverse it and say that "the likelihood of pH = 0.5, given the observation 'HH', is 0.25", i.e.,

$L(p_H=0.5 \mid \mbox{HH}) = P(\mbox{HH}\mid p_H=0.5) =0.25$.

But this is not the same as saying that the probability of pH = 0.5, given the observation, is 0.25.

To take an extreme case, on this basis we can say "the likelihood of pH = 1 given the observation 'HH' is 1". But it is clearly not the case that the probability of pH = 1 given the observation is 1: the event 'HH' can occur for any pH > 0 (and often does, in reality, for pH roughly 0.5).

The likelihood function is not a probability density function – for example, the integral of a likelihood function is not in general 1. In this example, the integral of the likelihood density over the interval [0, 1] in pH is 1/3, demonstrating again that the likelihood density function cannot be interpreted as a probability density function for pH. On the other hand, given any particular value of pH, e.g. pH = 0.5, the integral of the probability density function over the domain of the random variables is 1.

## Notes

1. ↑
2. ↑ Ronald A. Fisher. "On the mathematical foundations of theoretical statistics". Philosophical Transactions of the Royal Society, A, 222:309-368 (1922). ("Likelihood" is discussed in section 6.)

## References

• A. W. F. Edwards (1972). Likelihood: An account of the statistical concept of likelihood and its application to scientific inference, Cambridge University Press. Reprinted in 1992, expanded edition, Johns Hopkins University Press.

## Read more

• Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language | Individual...

Linear regression
• Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language | Individual...

Guesstimate
• Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language | Individual...

Estimator

# Photos

Add a Photo
6,465photos on this wiki
• by Dr9855
2013-05-14T02:10:22Z
• by PARANOiA 12
2013-05-11T19:25:04Z
Posted in more...
• by Addyrocker
2013-04-04T18:59:14Z
• by Psymba
2013-03-24T20:27:47Z
Posted in Mike Abrams
• by Omaspiter
2013-03-14T09:55:55Z
• by Omaspiter
2013-03-14T09:28:22Z
• by Bigkellyna
2013-03-14T04:00:48Z
Posted in User talk:Bigkellyna
• by Preggo
2013-02-15T05:10:37Z
• by Preggo
2013-02-15T05:10:17Z
• by Preggo
2013-02-15T05:09:48Z
• by Preggo
2013-02-15T05:09:35Z
• See all photos
See all photos >
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 23, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8679853081703186, "perplexity_flag": "middle"}