Docsity

9 Solved Questions on Statistical Inference - Assignment | STAT 610, Assignments of Statistics

Toggle sidebar
bg1
STAT610 - HWK Solution 6
2.2.13 The likelihood is given by
LX(θ) =
n
Y
i=1
I(θ−1
2≤xi≤θ+1
2)
=I(θ−1
2≤x(1) ≤x(n)≤θ+1
2)
=I(X(n)−1
2≤θ≤X(1) +1
2)
Where x(1), x(n)are rank statistics. Here, any ˆ
θsatisfying X(n)−1
2≤ˆ
θ≤X(1) +1
2,L(ˆ
θ, x) takes
the maximum.Therefore, any such ˆ
θis an MLE.
2.2.15 Since T(X) is sufficient, by factorization theorem
LX(θ) = h(X)g[T(X), θ]
Thus, for any given X,ˆ
θ= arg min
θ
LX(θ) = arg min
θ
g[T(X), θ]
which only depends on T(X).
2.2.21 The likelihood is given by
LX(µ, σ) =
n
Y
i=1 9
10σϕxi−µ
σ+1
10ϕ(xi−µ).
Note that
f(x, θ) =
9
10σ+1
10ϕ(0) σ2→0
−→ ∞ x=µ
9
10σϕx−µ
σ+1
10ϕ(x−µ)σ2→0
−→ 1
10ϕ(x−µ)x6=µ
If µequals to one of x1,·· · , xn, say x1, then
LX(µ, σ2) = 9
10σ+1
10ϕ(0)
n
Y
i=2 9
10σϕxi−µ
σ+1
10ϕ(xi−µ)→ ∞ as σ2→0
Therefore MLE does not exist and supµ,σ2LX(µ, σ2) = supσ2LX(ˆµ=x1, σ2) = ∞.
For any ˇµ /∈ {x1,·· · ,xn},
LX(ˇµ, σ2) =
n
Y
i=1 9
10σϕxi−ˇµ
σ+1
10ϕ(xi−ˇµ)→
n
Y
i=1 1
10ϕ(xi−ˇµ)as σ2→0
0 as σ2→ ∞
Moreover, LX(ˇµ, σ2) is continuous wrt σ2∈(0,+∞), so supσ2LX(ˇµ, σ2)<supµ,σ2LX(µ, σ2) = ∞.
1
pf3
pf4

Partial preview of the text

Download 9 Solved Questions on Statistical Inference - Assignment | STAT 610 and more Assignments Statistics in PDF only on Docsity!

STAT610 - HWK Solution 6

2.2.13 The likelihood is given by

LX (θ) =

n ∏

i=

I(θ −

≤ xi ≤ θ +

= I(θ −

≤ x (1)

≤ x (n)

≤ θ +

= I(X

(n)

≤ θ ≤ X (1)

Where x (1)

, x (n)

are rank statistics. Here, any

θ satisfying X (n)

1

2

θ ≤ X (1)

1

2

, L(

θ, x) takes

the maximum.Therefore, any such

θ is an MLE.

2.2.15 Since T (X) is sufficient, by factorization theorem

LX (θ) = h(X)g[T (X), θ]

Thus, for any given X,

θ = arg min

θ

LX (θ) = arg min

θ

g[T (X), θ]

which only depends on T (X).

2.2.21 The likelihood is given by

LX (μ, σ) =

n ∏

i=

[

10 σ

ϕ

x i

− μ

σ

ϕ (xi − μ)

]

Note that

f (x, θ) =

10 σ

ϕ(0)

σ

2 → 0

−→ ∞ x = μ

10 σ

ϕ

x − μ

σ

ϕ(x − μ)

σ

2 → 0

−→

ϕ(x − μ) x 6 = μ

If μ equals to one of x 1 , · · · , xn, say x 1 , then

L

X

(μ, σ

2

) =

10 σ

ϕ(0)

n ∏

i=

[

10 σ

ϕ

xi − μ

σ

ϕ (x i

− μ)

]

→ ∞ as σ

2

→ 0

Therefore MLE does not exist and sup μ,σ

2 LX (μ, σ

2 ) = sup σ

2 LX (ˆμ^ =^ x 1 , σ

2 ) = ∞.

For any ˇμ /∈ {x 1

, · · · , x n

LX (ˇμ, σ

2

) =

n ∏

i=

[

10 σ

ϕ

x i

− ˇμ

σ

ϕ (xi − μˇ)

]

n ∏

i=

[

ϕ (xi − μˇ)

]

as σ

2 → 0

0 as σ

2 → ∞

Moreover, L X

(ˇμ, σ

2 ) is continuous wrt σ

2 ∈ (0, +∞), so sup σ

2 LX (ˇμ, σ

2 ) < sup μ,σ

2 LX (μ, σ

2 ) = ∞.

2.2.24 Solve it by R.

feed=c(-1,-1,1,1,-1,-1,1,1,0,0,-sqrt(2),sqrt(2),rep(0,8))

speed=c(rep(-1,4),rep(1,4),-sqrt(2),sqrt(2),rep(0,10))

life=c(54.5,66,11.8,14,5.2,3,.8,.5,86.5,.4,

y=log(life)

z1=(feed-13)/

z2=(speed-900)/

z11=z1^

z22=z2^

z12=z1*z

fit1=lm(y~z1+z2) # Model of (a)

fit2=lm(y~z1+z2+z11+z22+z12) # Model of (b)

(a)

fit

Coefficients:

(Intercept) z1 z

anova(fit1)

Analysis of Variance Table

Response: y

Df Sum Sq Mean Sq F value Pr(>F)

z1 1 7.4927 7.4927 34.034 1.993e-05 ***

z2 1 30.2973 30.2973 137.619 1.422e-09 ***

Residuals 17 3.7426 0.

==> The value of contrast function is 3.7426 which is SSE.

(b)

fit

Coefficients:

(Intercept) z1 z2 z11 z22 z

anova(fit2)

Analysis of Variance Table

Response: y

Df Sum Sq Mean Sq F value Pr(>F)

z1 1 7.4927 7.4927 84.8577 2.557e-07 ***

z2 1 30.2973 30.2973 343.1306 3.033e-11 ***

z11 1 1.7398 1.7398 19.7042 0.0005612 ***

z22 1 0.7242 0.7242 8.2016 0.0125035 *

z12 1 0.0425 0.0425 0.4809 0.

Residuals 14 1.2362 0.

==> The value of contrast function is 1.2362 which is SSE.

2.2.40 (a) The likelihood is given by

L

X

(θ) =

(θ 1 + θ 2 )

n

exp

θ 1

n ∑

i=

x i

I(x i

θ 2

n ∑

i=

x i

I(x i

By factorization theorem, T 1

(X) =

n

i=

x i

I(x i

  1. and T 2

(X) =

n

i=

(−x i

)I(x i

< 0) are

sufficient for (θ 1

, θ 2

(b) If T 1

= 0 and T 2

= 0 l(θ 1

, θ 2

) = log L X

(θ 1

, θ 2

) = −n log(θ 1

  • θ 2

) − T

1

/θ 1

− T

2

/θ 2

∂θ 1

l(θ 1

, θ 2

n

θ 1

  • θ 2

T

1

θ

2

1

∂θ 2

l(θ 1 , θ 2 ) = −

n

θ 1

  • θ 2

T

2

θ

2

2

θ 1 =

T

1

T

1

T

2

n

θ 2

T

2

T

1

T

2

n

If T 1 = 0, l(θ 1 , θ 2 ) = −n log(θ 1 +θ 2 )−

T 2

θ 2

. For any fixed θ 2 , l is increasing as θ 1 ↘ 0. Therefore,

MLE does not exist. Similarly, if T 2

= 0, MLE does not exist.

2.3.3 The likelihood is given by

LX (θ) = θ

2 N 1

1

θ

2 N 2

2

θ

2 N 3

3

(2θ 1 θ 2 )

N 4

(2θ 1 θ 3 )

N 5

(2θ 2 θ 3 )

N 5

N 5 +N 4 +N 6 θ

2 N 1 +N 4 +N 5

1

θ

2 N 2 +N 4 +N 6

2

θ

2 N 3 +N 5 +N 6

3

N 5 +N 4 +N 6 exp {T 1

log(θ 1

/θ 3

) + T

2

log(θ 2

/θ 3

) + 2n log θ 3

where T 1

= 2N

1

+ N

4

+ N

5

, T

2

= 2N

2

+ N

4

+ N

6

and T 3

= 2n − T 1

− T

2

Let η 1 = log(θ 1 /θ 3 ), η 2 = log(θ 2 /θ 3 ), θ 3 = 1 − θ 1 − θ 2 , A(η 1 , η 2 ) = − 2 n log θ 3 = 2n log(1 + e

η 1

  • e

η 2 )

Check the conditions of Theorem 2.3.

(i) The natural parameter space, R

2 , is open.

(ii) η = (η 1

, η 2

) is identifiable ⇒ rank is of k-1.

(iii) If t 1

  • t 2

= 2n and c 1

= c 2

= 1, then P (T 1

+ T

2

t 1

  • t 2

) = P (T

1

+ T

2

2 n) = 0

If t 1

= 0 and c 1

) = −1, then P (−T 1

−t 1

) = P (T

1

< 0) = 0. Similarly if t 2

Thus, when t 1

  • t 2

= 2n or t 1

= 0 or t 2

= 0, MLE does not exist. Otherwise, MLE exists.

Solve

A(η) = T to obtain the MLE,

∂A(η 1

, η 2

∂η 1

2 ne

η 1

1 + e

η 1

  • e

η 2

= 2nθ 1 = T 1

∂A(η 1 , η 2 )

∂η 2

2 ne

η 2

1 + e

η 1

  • e

η 2

= 2nθ 2

= T

2

So

θ 1 =

T 1

2 n

θ 2 =

T 2

2 n

and

θ 3 = 1 −

θ 1 −

θ 2.

2.3.10 The multinomial distribution is a canonical exponential family distribution with an open parameter

space and rank of k − 1. By Corollary 2.3.1, MLE exists ⇔ (t 1

, · · · , t k− 1

) ∈ C

0

T

, where C

0

T

is the

interior of the convex support set C T

(t 1

, · · · , t k− 1

); 0 ≤ t j

≤ n, j = 1, · · · , k − 1 ,

k− 1

j=

t j

≤ n

C

0

T

= {(t 1

, · · · , t k− 1

); t j

0 , 1 ≤ j ≤ k − 1 ,

k− 1 ∑

j=

t j

< n}

Therefore, MLE exists ⇔ (T 1

, T

2

, · · · , T

k− 1

) ∈ C

0

T

⇔ ∀T

j

0 , 1 ≤ j ≤ k.