Docsity

Notes on Methods of Computing MLE - Mathematical Statistics | STAT 710, Study notes of Mathematical Statistics

Partial preview of the text

Download Notes on Methods of Computing MLE - Mathematical Statistics | STAT 710 and more Study notes Mathematical Statistics in PDF only on Docsity!

logo

Stat 710: Mathematical Statistics

Lecture 11

Jun Shao

Department of Statistics University of Wisconsin Madison, WI 53706, USA

logo

Lecture 11: Methods of computing MLE

We need to use various methods to derive MLE’s.

Example 4.

Let X be an observation from the hypergeometric distribution HG ( r , n , θ − n ) (Table 1.1, page 18) with known r , n , and an unknown θ = n + 1 , n + 2 , .... In this case, the likelihood function is defined on integers and the method of using the likelihood equation is certainly not applicable. Note that ℓ( θ ) ℓ( θ − 1 )

( θ − r )( θ − n ) θ ( θ − n − r + x )

which is larger than 1 if and only if θ < rn / x and is smaller than 1 if and only if θ > rn / x. Thus, ℓ(θ ) has a maximum θ = the integer part of rn / x , which is the MLE of θ.

logo

In applications, MLE’s typically do not have analytic forms and some numerical methods have to be used to compute MLE’s. But first, we may verify whether an MLE exists and whether it is unique

Example 4.

Let X 1 , ..., Xn be i.i.d. from the gamma distribution Γ( α, γ) with unknown α > 0 and γ > 0. The log-likelihood function is

log ℓ( θ ) = − n α log γ − n log Γ( α) + ( α − 1 )

n

i = 1

log xi −

γ

n

i = 1

xi

and the likelihood equation is

− n log γ −

n Γ′( α) Γ( α)

n

i = 1

log xi = 0

and −

n α γ

γ^2

n

i = 1

xi = 0.

logo

In applications, MLE’s typically do not have analytic forms and some numerical methods have to be used to compute MLE’s. But first, we may verify whether an MLE exists and whether it is unique

Example 4.

Let X 1 , ..., Xn be i.i.d. from the gamma distribution Γ( α, γ) with unknown α > 0 and γ > 0. The log-likelihood function is

log ℓ( θ ) = − n α log γ − n log Γ( α) + ( α − 1 )

n

i = 1

log xi −

γ

n

i = 1

xi

and the likelihood equation is

− n log γ −

n Γ′( α) Γ( α)

n

i = 1

log xi = 0

and −

n α γ

γ^2

n

i = 1

xi = 0.

logo

Example 4.33 (continued)

From calculus, Γ′( α) Γ( α)

= − C +

∞

k = 0

k + 1

k + α

and (^) d

d α

[

Γ′( α) Γ( α)

]

∞

k = 0

( k + α)^2

Then

h ′( α) =

α

∞

k = 0

( k + α)^2

<

α

∞

k = 0

k + α

k + 1 + α

α

Γ′( α) Γ( α)

Γ′( α + 1 ) Γ( α + 1 )

=

α

d d α

log Γ( α + 1 ) Γ( α) =

α

d d α

log α = 0.

logo

Example 4.33 (continued)

Hence, h (α) is decreasing. Also, it follows from the last two equalities of the previous expression that, for m = 2 , 3 , ...,

Γ′( m ) Γ( m )

m − 1

m − 2

m − 2

k = 0

k + 1

− C.

Therefore,

m lim→∞

[

log m −

Γ′( m ) Γ( m )

]

= (^) m lim→∞

[

log m −

m − 2

k = 0

k + 1

+ C

]

by the definition of C. Hence, limα→∞ h ( α) = Y − log X ¯ , which is negative by Jensen’s inequality when Xi ’s are not all the same. Thus, limα→∞ h ( α) < 0 a.s.

logo

The Newton-Raphson method

A commonly used numerical method is the Newton-Raphson iteration method, which repeatedly computes

θ̂ ( t +^1 )^ = θ̂ ( t )^ −

[

∂ 2 log ℓ( θ ) ∂ θ ∂ θ τ

θ = θ̂ ( t )

]− 1

∂ log ℓ( θ ) ∂ θ

θ =̂ θ ( t )

t = 0 , 1 , ..., where θ̂ (^0 )^ is an initial value and ∂ 2 log ℓ( θ )/ ∂ θ ∂ θ τ^ is assumed of full rank for every θ ∈ Θ. If, at each iteration, we replace [ ∂ 2 log ℓ( θ ) ∂ θ ∂ θ τ

θ = θ̂ ( t )

]− 1

by (^) [{

E

∂ 2 log ℓ( θ ) ∂ θ ∂ θ τ

θ = θ̂ ( t )

]− 1

where the expectation is taken under P θ , then the method is known as the Fisher-scoring method. If the iteration converges, then θ̂ (∞)^ or θ̂ ( t )^ with a sufficiently large t is a numerical approximation to a solution of the likelihood equation.

logo

Example 4.33 (continued)

In Example 4.33, let

s (θ ) =

∂ log ℓ( θ ) ∂ θ = n

− log γ −

Γ′( α) Γ( α)

+ Y , −

α γ

X ¯

γ^2

R (θ ) =

∂ 2 log ℓ( θ ) ∂ θ ∂ θ τ^ = n

[

Γ′( α) Γ( α)

] 2

′′( α) Γ( α) −^

1 γ − (^1) γ γα 2 − (^2) γ^ X ¯ 3

and

F ( θ ) = E [ R ( θ )] = n

[

Γ′( α) Γ( α)

] 2

′′( α) Γ( α) −^

1 γ − (^1) γ − γ^ α 2

Then the Newton-Raphson iteration equation is

θ̂ ( k +^1 )^ = θ̂ ( k )^ − [ R ( θ̂ ( k ))]−^1 s ( θ̂ ( k )), k = 0 , 1 , 2 , ...

and the Fisher-scoring iteration equation is

θ̂ ( k +^1 )^ = θ̂ ( k )^ − [ F ( θ̂ ( k ))]−^1 s ( θ̂ ( k )), k = 0 , 1 , 2 , ....