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.
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:
Why Likelihood-Based CIs?
Classical Wald intervals rely on asymptotic normality of the MLE. This can fail when:
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.
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
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
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?