Likelihood
Objective. Construct likelihood and log-likelihood functions.
- 1. Learn
- 2. Worked example
- 3. Practice
- 4. Feedback
- 5. Continue
Learn: the key idea
Likelihood measures how plausible different parameter values are given observed data, defined for independent observations x1,...,xn with density f(x;θ) as L(θ) = ∏ f(xᵢ;θ). The log-likelihood ℓ(θ) = Σ ln f(xᵢ;θ) is usually easier to work with since products become sums. For n Bernoulli(p) observations with k successes, L(p) = p^k(1−p)^(n−k), so the log-likelihood is ℓ(p) = k ln p + (n−k) ln(1−p), which is maximised to estimate p.
Worked example
Write the likelihood function for a single observation x from an Exponential(λ) distribution with density λe^(−λx).
- 1Start from the density f(x;λ) = λe^(−λx)
- 2With one observation, the likelihood equals the density itself
- 3Substitute the exponential density form
- 4State the likelihood function explicitly
Answer: L(λ) = λe^(−λx)
Concept mastery
Based on your past attempts at this lesson — the question types to practise again come first.
Complete a practice set to see your concept breakdown here.
Practice
Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.
Start practisingCommon mistake. A common mistake is treating the likelihood L(θ) as a probability distribution over θ and expecting it to integrate to one, but it is a function of θ for fixed data, not a density in θ. Likelihood compares relative plausibility, not probability of parameters.
Your progress
Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.
0 of 5 steps complete
Your place saves automatically as you read.