


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



STAT610 - HWK Solution 6
2.2.13 The likelihood is given by
LX (θ) =
n ∏
i=
I(θ −
≤ xi ≤ θ +
= I(θ −
≤ x (1)
≤ x (n)
≤ θ +
(n)
≤ θ ≤ X (1)
Where x (1)
, x (n)
are rank statistics. Here, any
θ satisfying X (n)
1
2
θ ≤ X (1)
1
2
θ, 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
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)
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.
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
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
n
i=
x i
I(x i
- and T 2
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
1
/θ 1
2
/θ 2
∂θ 1
l(θ 1
, θ 2
n
θ 1
1
θ
2
1
∂θ 2
l(θ 1 , θ 2 ) = −
n
θ 1
2
θ
2
2
θ 1 =
1
1
2
n
θ 2
2
1
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
2
log(θ 2
/θ 3
) + 2n log θ 3
where T 1
1
4
5
2
2
4
6
and T 3
= 2n − T 1
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
η 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
= 2n and c 1
= c 2
= 1, then P (T 1
2
t 1
1
2
2 n) = 0
If t 1
= 0 and c 1
) = −1, then P (−T 1
−t 1
1
< 0) = 0. Similarly if t 2
Thus, when t 1
= 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
η 2
= 2nθ 1 = T 1
∂A(η 1 , η 2 )
∂η 2
2 ne
η 2
1 + e
η 1
η 2
= 2nθ 2
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
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
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
2
k− 1
0
T
j
0 , 1 ≤ j ≤ k.