Docsity

Maximum Likelihood Estimation: Concept and Computation - Prof. Grzegorz A. Rempala, Study notes of Statistics

Partial preview of the text

Download Maximum Likelihood Estimation: Concept and Computation - Prof. Grzegorz A. Rempala and more Study notes Statistics in PDF only on Docsity!

STAT 9220

Lecture 12

Likelihood and MLE

Greg Rempala

Department of Biostatistics

Medical College of Georgia

Mar 31, 2009

11.1 Estimation via Likelihood

The maximum likelihood method is the most popular method for deriving estima- tors in statistical inference that does not use any loss function.

Example 11.1.1. Let X be a single observation taking values from { 0 , 1 , 2 } ac- cording to Pθ, where θ = θ 0 or θ 1 and the values of Pθj ({i}) are given by the following table:

x = 0 x = 1 x = 2 θ = θ 0 0.8 0.1 0. θ = θ 1 0.2 0.3 0.

If X = 0 is observed, it is more plausible that it came from Pθ 0 , since Pθ 0 ({ 0 }) is much larger than Pθ 1 ({ 0 }). We then estimate θ by θ 0. On the other hand, if X = 1 or 2, it is more plausible that it came from Pθ 1 , although in this case the difference between the probabilities is not as large as that in the case of X = 0. This suggests the following estimator of θ:

T (X) =

θ 0 X = 0 θ 1 X 6 = 0.

Remark 11.1.1.

  • Note that Θ instead of Θ is used in the definition of an MLE.¯ This is because a maximum of `(θ) may not exist when Θ is an open set. In some textbooks, Θ is used, instead of Θ¯
  • An MLE may not exist, or there are many MLE’s.
  • An MLE may not have an explicit form.
  • In terms of their mse’s, MLE’s are not necessarily better than UMVUE’s or Bayes estimators.
  • MLE’s are frequently inadmissible. This is not surprising, since MLE’s are not derived under any given loss function.
  • The main theoretical justification for MLE’s is provided in the theory of asymptotic efficiency considered latter.

11.2 Computation of MLE

If Θ contains finitely many points, then Θ = Θ and an MLE exists and can always¯ be obtained by comparing finitely many values `(θ), θ ∈ Θ.

Since log x is a strictly increasing function, ̂θ is an MLE if and only if it maximizes the log-likelihood function log (θ).It is often more convenient to work with log(θ).

If `(θ) is differentiable on Θ◦, the interior of Θ, then possible candidates for MLE’s are the values of θ ∈ Θ◦^ satisfying

∂ log `(θ) ∂θ

which is called the likelihood equation or log-likelihood equation.

A root of the likelihood equation may be local or global minima, local or global maxima, or simply stationary points. Also, extrema may occur at the boundary of Θ or when ‖θ‖ → ∞.

Furthermore, if (θ) is not always differentiable, then extrema may occur at non- differentiable or discontinuity points of(θ).

Hence, it is important to analyze the entire likelihood function to find its maxima.

Example 11.2.1 indicates that, for small n, a maximum of `(θ) may not exist on Θ and an MLE may be an unreasonable estimator; however, this is unlikely to occur when n is large. A rigorous result of this sort is given latter, where we study asymptotic prop- erties of MLE’s.

Example 11.2.2. Let X 1 ,... , Xn be i.i.d. from N (μ, σ^2 ) with unknown θ = (μ, σ^2 ), n ≥ 2. Consider first the case where Θ = R × (0, ∞).

log `(θ) = −

2 σ^2

∑^ n

i=

(xi − μ)^2 −

n 2

log σ^2 −

n 2

log(2π).

The likelihood equation is

1 σ^2

∑^ n

i=

(xi − μ) = 0 and

σ^4

∑^ n

i=

(xi − μ)^2 −

n σ^2

Solving the first equation for μ, we obtain a unique solution ¯x = n−^1

∑n i=1 xi, and substituting ¯x for μ in the second equation, we obtain a unique solution σ̂^2 = n−^1

∑n i=1(xi^ −^ x¯)

To show that ̂θ = (¯x, ̂σ^2 ) is an MLE, first note that Θ is an open set and `(θ) is differentiable everywhere;

as θ tends to the boundary of Θ or ‖θ‖ → ∞, `(θ) tends to 0; and

∂^2 log `(θ) ∂θ∂θτ^

( (^) n σ^2

1 σ^4

∑n i=1(xi^ −^ μ) 1 σ^4

∑n i=1(xi^ −^ μ)^

1 σ^6

∑n i=1(xi^ −^ μ)

(^2) − n 2 σ^4

This matrix is negative definite when μ = ¯x and σ^2 = σ̂^2. Hence ̂θ is the unique MLE.

Sometimes we can avoid the calculation of the second-order derivatives.

For instance, in this example we know that (θ) is bounded and(θ) → 0 as ‖θ‖ → ∞ or θ tends to the boundary of Θ; hence the unique solution to the likelihood equation must be the MLE.

Example 11.2.3. (Example 11.2.2 continued) Another way to show that ̂θ is the MLE is indicated by the following discussion.

Consider the case where Θ = (0, ∞) × (0, ∞), i.e., μ is known to be positive. The likelihood function is differentiable on Θ◦^ = Θ and Θ = [0¯ , ∞) × [0, ∞). If ¯x > 0, then the same argument for the previous case can be used to show that (¯x, ̂σ^2 ) is the MLE. If ¯x ≤ 0, then the first equation in the likelihood equation does not have a solution in Θ.

Next, consider the case where Iθ = (θ − 12 , θ + 12 ) with θ ∈ R. The likelihood function is `(θ) = I(x(n)− 12 ,x(1)+ 12 )(θ), x(1) = min(x 1 , ..., xn) Again, the method of using the likelihood equation is not applicable. However, it follows from Definition 11.1.1 that any statistic T (X) satisfying

x(n) − 12 ≤ T (x) ≤ x(1) + (^12)

is an MLE of θ.

This example indicates that MLE’s may not be unique and can be unreasonable.