Docsity

Stat613 Homework 5: Jackknife Estimator and Maximum Likelihood Estimation - Prof. Jianhua , Assignments of Statistics

Toggle sidebar
bg1
Stat613: Intermediate Theory of Statistics
Homework 5 (due 10/5/07)
Instructor: Jianhua Huang Student: Anna Dao
TA: Seokho Lee
Do Exercise 9.1 and the following two problems.
Problem A. (All students whose last name start with letter A-L are required to latex the solution to this
problem. Try to be concise in your presentation – clear and succinct.)
Jackknife
a. Tukey’s jackknife estimator of V ar(ˆ
θ) is defined as
d
V ar(ˆ
θ) = n−1
n
n
X
n=1
(ˆ
θ−i−ˆ
θ·)2,(1)
where as before ˆ
θ−iis the estimator evaluated using all the observations except Xiand ˆ
θ·= (1/n)Pn
i=1 ˆ
θ−i.
Consider estimation of the variance of g(¯
X) where ¯
Xis the sample mean of i.i.d. random variables X1, . . . , Xn.
Using a Taylor series expansion, show that the jackknife and the delta method gives approximately equal
estimates.
Solution
In this situation, θ=g(µ) is the parameter of interest. Let x−i:= 1/(n−1) Pj6=ixj. So according to the
definition in (1),
d
V ar(ˆ
θ) = n−1
n
n
X
i=1 g(x−i)−1
n
n
X
i=1
g(x−i)2
According the Taylor expansion, g(x−i)≈g(µ) + g0(µ)(x−i−µ). Thus,
g(x−i)−1
n
n
X
i=1
g(x−i)≈g(µ) + g0(µ)(x−i−µ)−1
n
n
X
i=1
g(µ) + g0(µ)(x−i−µ)
=g0(µ)x−i−1
n
n
X
i=1
x−i
But x−i=n/(n−1)x−1/(n−1)xi, therefore:
g(x−i)−1
n
n
X
i=1
g(x−i)≈g0(µ)n
n−1x−1
n−1xi−1
n
n
X
i=1
n
n−1x−1
n−1xi
=g0(µ)1
n−1xi−1
n
n
X
i=1
xi
=g0(µ)1
n−1xi−x
1
pf3
pf4
pf5

Partial preview of the text

Download Stat613 Homework 5: Jackknife Estimator and Maximum Likelihood Estimation - Prof. Jianhua and more Assignments Statistics in PDF only on Docsity!

Stat613: Intermediate Theory of Statistics

Homework 5 (due 10/5/07)

Instructor: Jianhua Huang Student: Anna Dao TA: Seokho Lee

Do Exercise 9.1 and the following two problems.

Problem A. (All students whose last name start with letter A-L are required to latex the solution to this problem. Try to be concise in your presentation – clear and succinct.)

Jackknife

a. Tukey’s jackknife estimator of V ar(θˆ) is defined as

V ar̂ (ˆθ) = n^ −^1 n

∑^ n

n=

(θˆ−i − θˆ·)^2 , (1)

where as before θˆ−i is the estimator evaluated using all the observations except Xi and θˆ· = (1/n)

∑n i=1 θˆ−i. Consider estimation of the variance of g( X¯) where X¯ is the sample mean of i.i.d. random variables X 1 ,... , Xn. Using a Taylor series expansion, show that the jackknife and the delta method gives approximately equal estimates.

Solution

In this situation, θ = g(μ) is the parameter of interest. Let x−i := 1/(n − 1)

j 6 =i xj^. So according to the definition in (1),

V ar̂ (θˆ) = n^ −^1 n

∑^ n

i=

g(x−i) −

n

∑^ n

i=

g(x−i)

According the Taylor expansion, g(x−i) ≈ g(μ) + g′(μ)(x−i − μ). Thus,

g(x−i) −

n

∑^ n

i=

g(x−i) ≈ g(μ) + g′(μ)(x−i − μ) −

n

∑^ n

i=

g(μ) + g′(μ)(x−i − μ)

= g′(μ)

x−i −

n

∑^ n

i=

x−i

But x−i = n/(n − 1)x − 1 /(n − 1)xi, therefore:

g(x−i) −

n

∑^ n

i=

g(x−i) ≈ g′(μ)

( (^) n n − 1

x −

n − 1

xi −

n

∑^ n

i=

n n − 1

x −

n − 1

xi

= g′(μ)

n − 1

xi −

n

∑^ n

i=

xi

= g′(μ)

n − 1

xi − x

Hence we obtain,

V ar̂ (θˆ) ≈ (g′(μ))^2 n^ −^1 n

n − 1

) 2 ∑n

i=

xi − x

= (g′(μ))^2

n(n − 1)

∑^ n

i=

xi − x

According to the Delta-Method, we obtain:

V ar̂ (g(x)) = (g′(μ))^2 V ar̂ (x) = (g′(μ))^2 n

∑^ n

i=

−V ar(xi)

= (g′(μ))^2

n(n − 1)

∑^ n

i=

xi − x

Therefore,

V ar̂ (θˆ) ≈ V ar̂ (g(x))

Parts b–c of this problem is concerned about estimating the support of a density. Suppose that X 1 ,... , Xn are i.i.d. random variable with probability density function

f (x; θ) =

θ

for 0 ≤ x ≤ θ, (2)

where θ is an unknown parameter.

b. Find the MLE θˆmle of θ and show that it is biased. Write the bias of the MLE in terms of an infinite series b(θ) =

c 1 n

c 2 n^2

c 3 n^3

Solution

Lets consider the likelihood function,

L(θ) =

θn^ I(X(1) ≥ 0)I(X(n) ≤ θ)

L(θ) is 0 if X(n) > θ. And L(θ) achieves its maximum at X(n) and decreases as θ moves away from X(n). Therefore X(n) is the MLE for θ. Its pdf is:

fX(n) (x) = n θn^

xn−^1

Thus,

EX(n)(x) =

∫ (^) θ

0

n θn^

xndx =

n n + 1

θ, and

B(X(n)) := EX(n) − θ = −

n + 1

θ

Now according Laurent series,

1 n + 1

n

1 + (^) n^1

n

∑^ ∞

k=

(−1)k nk

With this,

B(T − ̂b) =

( (^) n (^2) + n − 1 n(n + 1)

θ =

n(n + 1)

θ

while the bias of the MLE, which is X(n), was already calculated in (b): B(X(n)) = − 1 /(n + 1)θ. Therefore the absolute value of the bias of the so-called Jacknife estimate is bigger than that absolute value of the bias of the MLE.

d. Consider a simple fix to the MLE, the estimate θˆsim = cˆθmle where c is chosen such that θˆsim is unbiased. Since θˆsim is tailored to the specific situation (known density form) here, it need not be robust to model assumptions. By considering densities of different form but with support on [0, θ], show that θˆsim need not be unbiased and may be more severely biased than the MLE. In contrast, the jackknife estimate always has smaller bias than X(n) (in general). You can do a simulation study and/or a theoretical analysis.

Solution

Since E θ̂M LE = n/(n + 1)θ, ̂θsim = (n + 1)/nX(n) will be unbiased wrt the underlying distribution in (b).

That is, Ef [̂θsim] = θ.

Consider Y ∼ Beta(a + 1, 1) and X = θY. Then the pdf of X is as follows

g(x) =

B(a, 1)

θ

xa−^1 θa−^1

I(0 ≤ x ≤ θ)

The support is again [0, θ].

L(θ) =

B(a, 1)

)n (^1) θna

∏n

i=

xa i −^1 I(X(n) ≤ θ)

With the same argument in (b) Xn is again the M LE for θ. We need to find the Bg (X(n)) = Eg X(n). So we need to calculate the pdf of X(n).

The cdf G is

G(x) =

B(a, 1)

xa aθa

Now the pdf of X(n)

gX(n) (x) = n

(B(a, 1))n

xna−^1 an−^1 θna

and

Eg X(n) = n

(B(a, 1))n

∫ (^) θ

0

x

xna−^1 an−^1 θna^ dx

n Bnθnaan−^1

θna+ na + 1

where B := B(a, 1)

nθ Bn(na + 1)an−^1

Hence,

Bg

θM LE

= Bg

X(n)

( (^) n Bn(na + 1)an−^1 ︸ ︷︷ ︸ :=K

θ

and

Bg

θsim

= Bg

cX(n)

( (^) n + 1

︸ ︷︷ ︸^ n

1

n Bn(na + 1)an−^1 ︸ ︷︷ ︸ :=K

θ

Clearly, Bg

θsim

Bg

θM LE

I will show via simulation that Jacknife estimate (̂ θJACK ) always has a smaller bias than X(n) (θ̂M LE ), which

has again smaller bias than that of the cX(n) (θ̂SIM ).

θ a B n = 5 n = 10 n = 20 n = 50 n = 100 n = 200 θ = 5 a = 3 B(̂θM LE ) 0.313 0.475 0.557 0.590 0.606 0. θ = 5 a = 3 B(̂θSIM ) 0.665 1.005 1.178 1.248 1.283 1. θ = 5 a = 3 B(̂θJACK ) 0.301 0.459 0.541 0.574 0.59 0. θ = 5 a = 7 B(̂θM LE ) 0.138 0.209 0.244 0.258 0.265 0. θ = 5 a = 7 B(̂θSIM ) 0.834 1.256 1.469 1.555 1.597 1. θ = 5 a = 7 B(̂θJACK ) 0.135 0.206 0.241 0.255 0.262 0. θ = 20 a = 3 B(̂θM LE ) 1.250 1.896 2.224 2.356 2.422 2. θ = 20 a = 3 B(̂θSIM ) 2.664 4.029 4.720 4.999 5.139 5. θ = 20 a = 3 B(̂θJACK ) 1.204 1.838 2.163 2.295 2.361 2. θ = 20 a = 7 B(̂θM LE ) 0.555 0.838 0.979 1.036 1.065 1. θ = 20 a = 7 B(̂θSIM ) 3.335 5.024 5.876 6.218 6.389 6. θ = 20 a = 7 B(̂θJACK ) 0.545 0.825 0.967 1.024 1.052 1.

The output above is the result from the following R-Code:

#theta will take value 5 and 20 theta<- #a will take value 3 and 7 a<- beta<- #n will take value 5,10,20,50,100, n<- #calculate for 100,000 replication reps<- bias_mle<- bias_sim<- bias_jack<-

for(i in 1:reps){ y<-rbeta(n,a,beta) x_beta<-theta*y xs<-sort(x_beta) x_n<-xs[n] x_n_1<-xs[n-1]

#calculate the estimate theta_mle<-x_n