Log-Likelihood Functions for Continuous Probability Distributions

Construct the log-likelihood function for samples drawn from continuous probability distributions, and evaluate it at specified parameter values. The log-likelihood replaces the product in the likelihood with a sum, making it far easier to manipulate and differentiate.

Step 1 of 119%

Tutorial

Log-Likelihood for Continuous Distributions

Given a random sample x1,x2,,xnx_1, x_2, \ldots, x_n from a continuous distribution with pdf f(xθ)f(x \mid \theta), the likelihood function is the product

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

The log-likelihood function is the natural logarithm of the likelihood:

(θ)=lnL(θ)=i=1nlnf(xiθ).\ell(\theta) = \ln L(\theta) = \sum_{i=1}^n \ln f(x_i \mid \theta).

Since ln\ln is strictly increasing, L(θ)L(\theta) and (θ)\ell(\theta) are maximized at the same value of θ\theta. The logarithm converts the product into a sum, which is far easier to handle algebraically and to differentiate when locating a maximum.

The formula has the same shape as in the discrete case; the only change is that ff now denotes a pdf rather than a pmf. For instance, the exponential pdf f(xλ)=λeλxf(x \mid \lambda) = \lambda e^{-\lambda x} has logarithm

lnf(xλ)=lnλλx.\ln f(x \mid \lambda) = \ln \lambda - \lambda x.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle