Dina statistik, fungsi likelihood mangrupa fungsi conditional probabilitas dumasar kana "pertimbangan" fungsi alesan kadua nu mana fungsi mimiti dianggap angger, ahirna:
salian ti éta fungsi séjén proporsional saperti halna fungsi likelihood. ku sabab kitu, fungsi likelihood keur B mangrupa kelas ékivalénsi tina fungsi
keur unggal babandingan konstanta α > 0. Mangka nilai numerik L(b) teu bisa dijéntrékeun; sakabéh nu aya bakal mibanda babandingan L(b2)/L(b1), ku sabab ieu konstanta bakal gumantung kana babandingan konstanta tadi.
Likelihood nyaéta istilah nu dipaké keur fungsi likelihood. Dina basa nu ilahat dipaké sapopoe, "likelihood" nyaéta salah sahiji harti nu sarua keur istilah "probability", tapi dina artikel ieu bakal ngagunakeun dina harti sacara téhnik.
|Artikel ieu keur dikeureuyeuh, ditarjamahkeun tina basa Inggris.
Bantosanna diantos kanggo narjamahkeun.
In a sense, likelihood works backwards from probability: given B, we use the conditional probability P(A | B) to réason about A, and, given A, we use the likelihood function P(A | B) to réason about B. This mode of réasoning is formalized in Bayes' theorem; note the appéarance of a likelihood function for B given A in:
since, as functions of B, both P(A|B) and P(A|B)/P(A) are likelihood functions for B given A.
Likelihood function of a parametrized model[édit | édit sumber]
Among many applications, we consider here one of broad théoretical and practical importance. Given a parametrized family of probability density functions
where θ is the paraméter (in the case of discrete distributions, the probability density functions are probability "mass" functions) the likelihood function is
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 paraméters 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 réal-world consequences in medicine, engineering or jurisprudence. See prosecutor's fallacy for an example of this.
Conto[édit | édit sumber]
For example, if I toss a coin, with a probability pH of landing héads up ('H'), the probability of getting two héads in two trials ('HH') is pH2. If pH = 0.5, then the probability of seeing two héads is 0.25.
In symbols, we can say the above as
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.,
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 cléarly 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 réality, for pH roughly 0.5).
The likelihood function does not in general follow all the axioms of probability: for example, the integral of a likelihood function is not in general 1. This is because integration of the likelihood density function L is performed over all possible values of the modél paraméters (in this case, pH), while integration of a probability density function f is performed over the random variables (which in this case take on the four pairs of values 'TT', 'TH', 'HT' and 'HH'). 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 variabel acaks is 1.