


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to various statistical problems, including finding the maximum likelihood estimators (mle) for different probability distributions using newton's method. Poisson, exponential, normal distributions, and their respective log-likelihood functions. It also explains how to estimate the probability of specific events based on the mle. Intended for students in a statistics or probability course, particularly those studying maximum likelihood estimation and numerical methods.
Typology: Assignments
1 / 4
This page cannot be seen from the preview
Don't miss anything!



X 11 ,... , X 1 n 1 iid ∼ N(θ 1 , 1) and X 21 ,... , X 2 n 2 iid ∼ N(θ 2 , 1),
independent throughout. Suppose that θ 1 ≤ θ 2. Find the MLE of (θ 1 , θ 2 ). You may find it helpful to sketch the parameter space Θ = {(θ 1 , θ 2 ) : θ 1 ≤ θ 2 }.
(a) Let X 1 ,... , Xn be iid with PMF fθ(x) = e−θθx/x!, x = 0, 1 , 2 ,... (a Poisson distribution). Then the likelihood function is
Lx(θ) =
∏^ n
i=
e−θ^
θxi xi!
= const · e−nθθx^1 +···+xn^.
Taking log and then derivative gives
0 set =
∂θ
log Lx(θ) =
∂θ
const − nθ + (x 1 + · · · + xn) log θ
= −n +
nx θ
From here it’s clear that the MLE is θˆ = x. (b) Let X 1 ,... , Xn be iid with PDF fθ(x) = θxθ−^1 , x ∈ (0, 1) (a beta distribution). The likelihood function is
Lx(θ) =
∏^ n
i=
θxθ i −^1 = θn
( (^) ∏n
i=
xi
)θ− 1 .
Taking log and then derivative gives
∂θ
log Lx(θ) =
∂θ
n log θ + (θ − 1)
∑^ n
i=
log xi
n θ
∑^ n
i=
log xi.
Therefore, the MLE is θˆ = −n(
∑n i=1 log^ xi)
(c) Let X 1 ,... , Xn be iid with PDF fθ(x) = (1/θ)e−x/θ, x > 0 (an exponential distribution with mean θ). The likelihood equation is
Lx(θ) =
∏^ n
i=
θ
e−xi/θ^ =
θn^
e−(x^1 +···+xn)/θ.
Taking log and then derivative gives
0 set =
∂θ
log Lx(θ) =
∂θ
−n log θ − nx/θ
n θ
nx θ^2
Then the MLE is clearly θˆ = x. (d) Let X 1 ,... , Xn be iid with PDF fθ(x) = e−(x−θ)I[θ,∞)(x) (a shifted exponential distribution). Here, like in the uniform problem from class, we use the indicator function because the support set depends on θ. The likelihood function is
Lx(θ) =
∏^ n
i=
e−(xi−θ)I[θ,∞)(xi) ∝ enθI[θ,∞)(x(1)).
For the right-hand side, the logic is as follows. First, the proportionality constant is e−nx, which can be ignored because it has nothing to do with θ. Second, the product of indicators is 1 if and only if all the indicators are 1; all the indicators are 1 if and only if all the Xi’s are ≥ θ; all the data are ≥ θ if and only if X(1), the sample minimum, is ≥ θ. But enθ^ is strictly increasing and, since θ ≤ x(1), it must be that θˆ = x(1).
L 12 (θ 1 , θ 2 ) = L 1 (θ 1 ) · L 2 (θ 2 ).
Therefore, the maximizer of L 12 (θ 1 , θ 2 ) is just the pair of individual maximiz- ers. Since the two sample-specific likelihoods are normal, the calculation in Prob- lem 6.1.11 above shows that (θˆ 1 , θˆ 2 ) = (x 1 , x 2 ), the pair of sample means. But it is known that θ 2 ≥ θ 1 , i.e., Θ = {(θ 1 , θ 2 ) : θ 2 ≥ θ 1 }. If (x 1 , x 2 ) is inside Θ (i.e., if x 2 ≥ x 1 ), then the MLE is just (x 1 , x 2 ). But it is possible that x 1 > x 2 and, in such a case, an adjustment must be made. The adjustment, as usual, is to push (x 1 , x 2 ) to the closest point in Θ. There’s a number of ways to find this closest point, and here I list two. (Drawing a picture would help.)
So the MLE in this constrained parameter problem is
ˆθ =
(x 1 , x 2 ) if x 2 ≥ x 1 (x^1 + 2 x^2 , x^1 + 2 x^2 ) otherwise.