Math 2.0

definition

Likelihood function

Definition

Let Θ\Theta be a set of parameters. For each θ∈Θ\theta \in \Theta, let f(⋅∣θ)f(\cdot \mid \theta) be a probability mass function or a density on Rn\mathbb{R}^n. It gives the law of the data X=(X1,…,Xn)X = (X_1, \dots, X_n) when θ\theta is the true parameter. For observed data x∈Rnx \in \mathbb{R}^n, the likelihood function is the function L ⁣:Θ→[0,∞)L \colon \Theta \to [0, \infty) with L(θ∣x)=f(x∣θ).L(\theta \mid x) = f(x \mid \theta). The log-likelihood is ℓ(θ∣x)=ln⁡L(θ∣x)\ell(\theta \mid x) = \ln L(\theta \mid x).

Remarks

For an i.i.d. sample with mass function or density f1(⋅∣θ)f_1(\cdot \mid \theta) for each observation, L(θ∣x)=∏i=1nf1(xi∣θ)L(\theta \mid x) = \prod_{i=1}^{n} f_1(x_i \mid \theta) and ℓ(θ∣x)=∑i=1nln⁡f1(xi∣θ)\ell(\theta \mid x) = \sum_{i=1}^{n} \ln f_1(x_i \mid \theta). The likelihood is not a probability distribution on Θ\Theta. In general, its integral over θ\theta is not 11. Example: for kk successes in nn Bernoulli(pp) trials, L(p∣x)=pk(1−p)n−kL(p \mid x) = p^k (1 - p)^{n - k} for p∈[0,1]p \in [0, 1]. Only ratios L(θ1∣x)/L(θ2∣x)L(\theta_1 \mid x) / L(\theta_2 \mid x) matter for inference. These ratios compare how well two parameter values explain the data.

Explanations

L1 human

The likelihood answers the question: "If the parameter were θ\theta, how probable would my data be?" Parameter values with a high likelihood explain the observed data well.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What depends on this

3 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Likelihood_function, Definition