Likelihood Functions for Continuous Probability Distributions

Extends the likelihood function from discrete distributions (using the pmf) to continuous distributions (using the pdf). Students learn to evaluate the likelihood L(θ)=f(xi;θ)L(\theta) = \prod f(x_i;\theta) for exponential and normal distributions and to compare likelihoods at different parameter values.

Step 1 of 119%

Tutorial

From Discrete to Continuous Likelihoods

For a discrete random variable, we defined the likelihood function as the joint probability of the observed data:

L(θ)=P(X1=x1,,Xn=xn;θ)=i=1nP(Xi=xi;θ).L(\theta) = P(X_1=x_1,\,\ldots,\,X_n=x_n;\theta) = \prod_{i=1}^n P(X_i = x_i;\theta).

This definition breaks down for a continuous random variable, because P(Xi=xi;θ)=0P(X_i = x_i;\theta) = 0 for any specific value xix_i. To repair it, we simply replace the pmf with the probability density function f(x;θ)f(x;\theta).

Given nn independent observations x1,x2,,xnx_1, x_2, \ldots, x_n from a continuous distribution with pdf f(x;θ)f(x;\theta), the likelihood function is

L(θ)=i=1nf(xi;θ).L(\theta) = \prod_{i=1}^n f(x_i;\theta).

Unlike the discrete case, L(θ)L(\theta) is not a probability — pdf values are not capped at 11, so L(θ)L(\theta) can be any nonnegative number. However, its interpretation is the same: parameter values θ\theta that produce a larger L(θ)L(\theta) are more consistent with the observed data.

For instance, suppose XExponential(λ)X \sim \text{Exponential}(\lambda) with pdf f(x;λ)=λeλxf(x;\lambda) = \lambda e^{-\lambda x} for x0x \geq 0. If we observe x1=0.5x_1 = 0.5 and x2=1.5x_2 = 1.5, then

L(λ)=(λe0.5λ)(λe1.5λ)=λ2e2λ.\begin{align*} L(\lambda) &= \bigl(\lambda e^{-0.5\lambda}\bigr)\bigl(\lambda e^{-1.5\lambda}\bigr) \\[3pt] &= \lambda^2 e^{-2\lambda}. \end{align*}
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle