Docsity

Problem Set #3 - Statistical Inference | STA 7346, Assignments of Statistics

Toggle sidebar
bg1
1 Problem 3.4.1
(a)
As given in example 3.4.7,ΠΩis spanned by (1,··· ,1)0and (t1,· ·· , tn)0. Dimension of ΠΩis
s= 2. So if c1= (1/√n, ·· · ,1/√n)0, then by Gram-Schmidt method, a vector in ΠΩthat is
orthogonal to c1is given by
d2= (t1,·· · , tn)0−[(t1,·· · , tn)c1]c1= (t1−¯
t, ·· · , tn−¯
t)0
||d2|| =
n
X
i=1
(ti−¯
t)2=⇒c2=1
pPn
i=1(ti−¯
t)2(t1−¯
t, ·· · , tn−¯
t)0
(b)
s= 3,ΠΩis spanned by (1,·· · ,1)0,(t1,·· · , tn)0and (t2
1,·· · , t2
n)0. With the simplifying assump-
tions and from (a), c1= (1/√n, ·· · ,1/√n)0,c2= (t1,·· · , tn)0. By Gram-Schmidt method.
d3= (t2
1,·· · , t2
n)0−[(t2
1,···, t2
n)c1]c1−[(t2
1,·· · , t2
n)c2]c2= (t2
1−t1
n
X
i=1
t3
i−1
n,·· · , t2
n−tn
n
X
i=1
t3
i−1
n)0
So, finally c3=1
||d3|| (t2
1−t1Pn
i=1 t3
i−1
n,·· · , t2
n−tnPn
i=1 t3
i−1
n)0
2 Problem 3.4.13
ξ... =µ,ξi.. =µ+αi,ξ.j. =µ+βj,ξ..k =µ+γk=⇒µ=ξ...,αi=ξi.. −ξ...,βj=ξ.j. −ξ... ,
γk=ξ..k −ξ.... Note that Xijk is the LSE of ξijk . Then by theorem 3.4.4,ˆµ=X...,ˆαi=
Xi.. −X...,ˆ
βj=X.j. −X...,ˆγk=X..k −X... are UMVU estimators.
Viewed as a special case of (3.4.4),s=I+J+K−3 = I+J+K−2.
3 Problem 3.4.16
(a)
In order to obtain the LSE of θ, we minimize
Q(θ) = ||x−ξ||2=||x−θA||2=xxT−x(θA)T−(θA)xT+ (θA)(θA)T
⇒ ∇Q(θ) = −xAT−AxT+ 2AATθT=−2AxT+ 2AATθT=set 0
⇒xAT=ˆ
θAAT⇔ˆ
θ=xAT(AAT)−1.
Thus, ˆ
θ=xAT(AAT)−1is the LSE of θ.
(b)
From Theorem 4.8, ˆ
θis a function of ˆ
ξ, the least square estimate of ξ. From the proof of Theorem
pf3
pf4
pf5

Partial preview of the text

Download Problem Set #3 - Statistical Inference | STA 7346 and more Assignments Statistics in PDF only on Docsity!

1 Problem 3.4.

(a)

As given in example 3. 4. 7 , Π Ω

is spanned by (1, · · · , 1)

′

and (t 1

, · · · , t n

′

. Dimension of Π Ω

is

s = 2. So if c 1

n, · · · , 1 /

n)

′

, then by Gram-Schmidt method, a vector in Π Ω

that is

orthogonal to c 1

is given by

d 2 = (t 1 , · · · , tn)

′

− [(t 1 , · · · , tn)c 1 ]c 1 = (t 1 −

t, · · · , tn −

t)

′

||d 2

n ∑

i=

(t i

t)

2

=⇒ c 2

n

i=

(t i

t)

2

(t 1

t, · · · , t n

t)

′

(b)

s = 3, Π Ω

is spanned by (1, · · · , 1)

′

, (t 1

, · · · , t n

′

and (t

2

1

, · · · , t

2

n

′

. With the simplifying assump-

tions and from (a), c 1

n, · · · , 1 /

n)

′

, c 2

= (t 1

, · · · , t n

′

. By Gram-Schmidt method.

d 3

= (t

2

1

, · · · , t

2

n

′

−[(t

2

1

, · · · , t

2

n

)c 1

]c 1

−[(t

2

1

, · · · , t

2

n

)c 2

]c 2

= (t

2

1

−t 1

n ∑

i=

t

3

i

n

, · · · , t

2

n

−t n

n ∑

i=

t

3

i

n

′

So, finally c 3

1

||d 3 ||

(t

2

1

− t 1

n

i=

t

3

i

1

n

, · · · , t

2

n

− t n

n

i=

t

3

i

1

n

′

2 Problem 3.4.

ξ ...

= μ, ξ i..

= μ + α i

, ξ .j.

= μ + β j

, ξ ..k

= μ + γ k

=⇒ μ = ξ ...

, α i

= ξ i..

− ξ ...

, β j

= ξ .j.

− ξ ...

γ k

= ξ ..k

− ξ ...

. Note that X ijk

is the LSE of ξ ijk

. Then by theorem 3. 4. 4 , μˆ = X ...

, αˆ i

X

i..

− X

...

β j

= X

.j.

− X

...

, γˆ k

= X

..k

− X

...

are UMVU estimators.

Viewed as a special case of (3. 4 .4), s = I + J + K − 3 = I + J + K − 2.

3 Problem 3.4.

(a)

In order to obtain the LSE of θ, we minimize

Q(θ) = ||x − ξ||

2

= ||x − θA||

2

= xx

T

− x(θA)

T

− (θA)x

T

  • (θA)(θA)

T

⇒ ∇Q(θ) = −xA

T

− Ax

T

  • 2AA

T

θ

T

= − 2 Ax

T

  • 2AA

T

θ

T

=

set

0

⇒ xA

T

=

θAA

T

⇔

θ = xA

T

(AA

T

)

− 1

.

Thus,

θ = xA

T (AA

T )

− 1 is the LSE of θ.

(b)

From Theorem 4.8,

θ is a function of

ξ, the least square estimate of ξ. From the proof of Theorem

4.4, we see that

ξ is a function of the complete sufficient statistics. Hence, θ is a function of the

complete sufficient statistics, so it is UMVUE for its expectation. Note that E(

θ) = θ. Thus,

θ is

the UMVUE of θ.

4 Problem 4.1.

(a)

Let X 1

,... , X

n

be iid Poisson distribution P (λ), and let λ has Gamma distribution Γ(g, α). Note

that the expectation and variance of a RV λ ∼ Γ(g, α) are

E(λ) = gα V ar(λ) = gα

2

.

Moreover, also notice that

X ∼ P (λ) is the UMVUE for λ with E(

X) = V ar(

X) = λ. According

to Example 4.1.3, the posterior distribution is π(λ|¯x) ∼ Γ(g + nx,¯

α

1+nα

). Thus, we obtain the

Bayes estimator under squared error loss to be

δ α,g

= E(λ|x¯) = (g + nx¯)

α

1 + nα

gα

1 + nα

  • n¯x

α

1 + nα

which is a weighted average of gα, the estimator of λ before any observations are taken, and

X,

the estimator without consideration of a prior.

(b)

(i)n → ∞, E(δ α,g

) → λ, Var(δ α,g

) → 0 ⇒ δ α,g

→ λ in probability.

(ii)α → ∞ and g → 0 , then δ α,g

→ x¯.

Now, if both (i) and (ii) holds then E(δ α,g

) → λ, Var(δ α,g

) → 0 ⇒ δ α,g

→ λ in probability.

5 Problem 4.1.

π(λ) =

1

λ

I(λ > 0), f (x|λ) =

n

i=

e

−λ λ

x i

xi!

. Then the posterior is π(λ|x) ∝ e

−nλ λ

∑

xi− 1 ,

which is kernel of Gamma(

xi, 1 /n). So our condition for the posterior to be proper is that

∑ n

i=

x i

6 Problem 4.2.

From (4. 2 .4), we know E θ

δ Λ

(x) =

nb

2 θ+σ

2 μ

nb

2 +σ

2

, V ar θ

δ Λ

(x) =

nb

4 σ

2

n

2 b

4 +2nb

2 σ

2 +σ

4

(a)

As n −→ ∞, E θ

δ Λ

(x) −→ θ and V ar θ

δ Λ

(x) −→ 0. So δ Λ

(x) −→ θ in probability as n −→ ∞.

where A(η) = a · log(b). According to (4.3.19) the conjugate prior family is

π(η|k, μ) ∝ exp {kμη − kA(η)} = exp

kμ

b

  • log(

b

ka

b

ka

e

−

kμ

b

which we recognize as the kernel of IG(ka − 1 , kμ) (for ka > 1 and kμ > 0 under the support

b > 0 ). Thus, the conjugate prior for η = −

1

b

is equivalent to an inverted gamma on b.

(b)

Note: Let b ∼ InvGam(α, β) ⇒ p α,β

(b) =

β

α

Γ(α)

1

b

α+

e

−

β

b (^) I(b > 0) where E(b) =

β

α− 1

Moreover,

E(

b

β

α

Γ(α)

∞

0

b

α+

e

−

β

b

β

α

Γ(α)

Γ(α + 1)

β

α+

α

β

(which makes senses since

1

b

∼ Gamma(α,

1

β

) ⇒ E(

1

b

α

β

) and

E(

b

2

β

α

Γ(α)

Γ(α + 2)

β

α+

α(α + 1)

β

2

Let X 1

,... , X

n

iid Γ(a, b) where b ∼ InvGam(c, d). Note that π(b|x) ∝

1

b

an+c+

e

−

1

b

(

∑

xi+d)

which implies b|x ∼ InvGam(an + c,

x i

  • d). First, let’s consider the case where L(b, δ) =

(b − δ)

2

. From Corollary 4.1.

δ(x) = E(b|x) =

x i

  • d

an + c − 1

. Lastly, let’s consider the case where L(b, δ) =

1

b

2

(b − δ)

2

. Again, from Corollary 4.1.

δ(x) =

E(

1

b

|x)

E(

1

b

2 |x)

x i

  • d

an + c + 1

9 Problem 4.3.

(a)

Note: from Lemma 1.5.15, Stein’s indentity is given to be

E

{[

h

′ (X)

h(X)

s ∑

i=

η i

T

′

i

(X)

]

g(X)

= −Eg

′

(X)

Let g(X) = 1 ⇒ g

′ (X) = 0. From Stein’s indentity,

E

η

{[

h

′ (X)

h(X)

s ∑

i=

η i

T

′

i

(X)

]

g(X)

(where

h

′ (X)

h(X)

δ

δxj

log(h(X)) and T

′

i

δ

δxj

T

i

(X))

s ∑

i=

η i

E

η

δ

δxj

T

i

(X)) = E

η

δ

δxj

log(h(X)))

(b)

Let X i

iid Γ(a, b) where a is known. The density is

f (x|b) =

(Πx i

a− 1

(Γ(a))

n

exp

−an · log(b) −

b

x i

= h(x) ∗ exp

−A(η) + η i

T

i

that is, η i

1

b

and T i

= −x i

. Notice that

E

η

δ

δx j

log(h(X))) =

s ∑

i=

η i

E

η

δ

δx j

T

i

(X)) =

b

E(

δ

δx j

(−x i

b

which implies

δ

δxj

log(h(X)) is an unbiased estimator of

1

b

. Let’s consider

δ

δx j

log(h(X)) =

δ

δx j

−nlog(Γ(a)) + (a − 1)

log(xi)

a − 1

x j

Thus,

a− 1

xj

is an unbiased estimator of

1

b

for all j. Moreover, (a − 1)

(x

− 1

j

/n) is also unbiased for

1 /b.

(c)

Let X i

iid

Beta(a, b). Let’s assume b is known. Using part(a), we have

(a − 1)E(

x j

) = (b − 1)E(

1 − x j

Note that E(

1

x j

a+b− 1

a− 1

⇒ (a + b − 1) = (b − 1)E(

1

1 −x j

) ⇒ a =

(b−1)

n

E(

xj

1 −x j

Thus, the unbiased estimator for a is

(b−1)

n

xj

1 −x j

Similar argument is applied to the case where a is known.

10 Problem 4.3.

(a)

E[(a

X + b) − μ]

2

= a

2

E(

X − μ)

2

  • E[b + (a − 1)μ]

2

  • 2aE(

X − μ)[b + (a − 1)μ]

= a

2 V ar(

X) + [(a − 1)μ + b]

2

(b)

If μ is unbounded, then M SE(a

X + b) = a

2 V ar(

X) + [(a − 1)μ + b]

2 is also unbounded if a 6 = 1.

(c)

If μ is bounded, the Bayes estimator can have finite MSE.