Let Y₁ = min (xᵢ) and Yₙ = max (xᵢ) are joint sufficient statistics. Also, θ − 1 < Y₁ < Yₙ < θ + 1 then maximum likelihood estimate of θ is:
Any θ in [Yₙ − 1, Y₁ + 1] maximises the likelihood, and the midrange (Y₁ + Yₙ)/2 always lies in this interval.
The condition θ − 1 < xᵢ < θ + 1 means a sample from U(θ − 1, θ + 1) with density 1/2.
L(θ) = (1/2)ⁿ when θ − 1 < Y₁ and Yₙ < θ + 1, and L(θ) = 0 otherwise.
So L(θ) is constant and maximum on Yₙ − 1 < θ < Y₁ + 1; the MLE is not unique.
Midrange check: (Y₁ + Yₙ)/2 − (Yₙ − 1) = 1 − (Yₙ − Y₁)/2 > 0 and (Y₁ + 1) − (Y₁ + Yₙ)/2 = 1 − (Yₙ − Y₁)/2 > 0, since Yₙ − Y₁ < 2.
Yₙ lies in the interval only if Yₙ − Y₁ < 1, which need not hold.
Y₁ likewise needs Yₙ − Y₁ < 1, so it is not always an MLE.
(Yₙ − Y₁)/2 is half the range, a measure of spread that cannot estimate the location θ.
Related result: for U(θ − 1, θ + 1) the pair (Y₁, Yₙ) is minimal sufficient but not complete.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →