01 / 22

Likelihood-Based
Confidence Intervals

Learn how the likelihood function and profile likelihood give you confidence intervals rooted directly in the data, without relying on large-sample normality.

Statistics Likelihood Inference

What Is the Likelihood Function?

Given observed data \( \mathbf{x} = (x_1, \dots, x_n) \), the likelihood function treats the joint density as a function of the parameter \( \theta \):

The likelihood is not a probability distribution over \( \theta \). It measures how compatible each parameter value is with the observed data.

The Maximum Likelihood Estimate

The MLE \( \hat{\theta} \) is the value that maximizes the likelihood:

Point Estimate
The MLE gives a single "best guess" for \( \theta \).
Uncertainty?
A point estimate alone says nothing about how precisely \( \theta \) is known.

Why Likelihood-Based CIs?

Classical Wald intervals rely on asymptotic normality of the MLE. This can fail when:

1
Sample size is small: the normal approximation to the sampling distribution is poor.
2
Parameter is near a boundary: e.g., \( \theta \) close to 0 or 1 for a proportion.
3
Log-likelihood is asymmetric: the curvature differs on either side of \( \hat{\theta} \).

The Log-Likelihood Ratio Statistic

The foundation is the deviance (log-likelihood ratio statistic):

By Wilks' Theorem, under regularity conditions and as \( n \to \infty \):

Core Theorem: Likelihood Ratio CI

A \( 100(1-\alpha)\% \) likelihood ratio confidence interval is the set of all \( \theta \) values not rejected by the likelihood ratio test:

Equivalently, collect all \( \theta \) where the log-likelihood is within \( \tfrac{1}{2}\chi^2_{1,\,1-\alpha} \) of its maximum. For a 95% CI:

Visualizing the Likelihood CI

The Profile Likelihood

When the model has multiple parameters \( (\psi, \lambda) \), we want a CI for the parameter of interest \( \psi \), while \( \lambda \) is a nuisance parameter.

\( \hat{\lambda}_\psi \) is the constrained MLE of \( \lambda \) given a fixed value of \( \psi \). The profile likelihood "projects" the full surface down to one dimension.

Profile Likelihood Confidence Interval

This is the same "horizontal slice" idea, but applied to the profile log-likelihood rather than the full log-likelihood. The nuisance parameters are handled automatically.

Advantage
No need to estimate or invert the full information matrix. Works even when nuisance parameters are hard to estimate.
Computation
Requires repeated optimization: for each candidate \( \psi \), solve for \( \hat{\lambda}_\psi \).

Wald vs. Likelihood Ratio CIs

Wald CI Likelihood Ratio CI
Formula \( \hat{\theta} \pm z_{\alpha/2}\,\text{SE} \) \( 2[\ell(\hat{\theta}) - \ell(\theta)] \leq c \)
Shape Always symmetric Can be asymmetric
Invariance Not reparametrization invariant Invariant under reparametrization
Boundary May exceed parameter space Respects boundaries naturally
Small \( n \) Often poor coverage Better finite-sample coverage

How to Construct a Likelihood CI

1
Write down \( \ell(\theta) \): the log-likelihood for your model and data.
2
Find \( \hat{\theta} \): maximize \( \ell(\theta) \) to get the MLE and compute \( \ell(\hat{\theta}) \).
3
Set the cutoff: compute \( c = \tfrac{1}{2}\chi^2_{1,\,1-\alpha} \). For 95%, \( c = 1.921 \).
4
Solve \( \ell(\theta) = \ell(\hat{\theta}) - c \): find the two roots. These are the CI endpoints.
5
For nuisance parameters: use the profile likelihood \( \ell_P(\psi) \) instead of the full \( \ell(\theta) \).

Example 1: Binomial Proportion

Observe \( x = 3 \) successes in \( n = 10 \) trials. The log-likelihood for \( p \) is:

The 95% CI contains all \( p \) with \( \ell(p) \geq -6.109 - 1.921 = -8.030 \). Solving numerically:

Binomial Log-Likelihood Curve

Example 2: Exponential Rate

Observe \( n = 5 \) lifetimes from \( \text{Exp}(\lambda) \): \( \bar{x} = 4.2 \). The log-likelihood is:

The 95% cutoff is \( \ell(\hat{\lambda}) - 1.921 = -14.097 \). Solving \( 5\ln\lambda - 21\lambda = -14.097 \) numerically:

Example 3: Profile Likelihood for \( \mu \)

Suppose \( X_1, \dots, X_n \sim N(\mu, \sigma^2) \) with both \( \mu \) and \( \sigma^2 \) unknown. We want a CI for \( \mu \). The full log-likelihood is:

For fixed \( \mu \), the constrained MLE of \( \sigma^2 \) is \( \hat{\sigma}^2_\mu = \frac{1}{n}\sum(x_i - \mu)^2 \). Substituting:

Common Mistakes

Wrong cutoff
Using \( \chi^2_{1,\,0.95} = 3.841 \) directly instead of the half-cutoff \( 1.921 \) when slicing the log-likelihood.
Forgetting to profile
Plugging in a fixed \( \hat{\sigma}^2 \) instead of re-optimizing \( \sigma^2 \) for each \( \mu \). This gives a plug-in CI, not a profile CI.
Assuming symmetry
Reporting \( \hat{\theta} \pm \Delta \) when the LR interval is asymmetric. Always report both endpoints individually.

Summary of CI Methods

Wald Likelihood Ratio
Basis Curvature at \( \hat{\theta} \) Deviance \( W(\theta) \)
Shape Symmetric Can be asymmetric
Invariant? No Yes
Nuisance params Requires full info matrix Profile likelihood
Computation Easiest Root-finding needed

Question 1 of 5

For a 95% likelihood ratio CI, the log-likelihood cutoff below the maximum is:

Question 2 of 5

A key advantage of the likelihood ratio CI over the Wald CI is that it is:

Question 3 of 5

The profile log-likelihood \( \ell_P(\psi) \) is obtained by:

Question 4 of 5

Wilks' theorem states that under \( H_0 \), the deviance \( W(\theta_0) = 2[\ell(\hat{\theta}) - \ell(\theta_0)] \) converges in distribution to:

Question 5 of 5

For \( x = 3 \) successes in \( n = 10 \) binomial trials, the Wald 95% CI for \( p \) is \( [0.016, 0.584] \). The LR 95% CI is \( [0.085, 0.601] \). Which statement is correct?