What Is the MLE for a Uniform(θ, 0) Distribution?
At a glance
- 1. Read the endpoints
Under standard endpoint notation, Uniform(θ, 0) requires θ < 0.
- 2. Write the likelihood
The parameter must be no greater than the smallest observation for every data point to lie in the support.
- 3. Maximize at the boundary
The likelihood increases with θ over its feasible range, so choose the largest feasible value.
- 4. Check the convention
If the intended distribution is Uniform(0, θ), use the sample maximum instead.
If means a uniform distribution on the interval from to , then standard endpoint notation requires . For an independent sample, the maximum-likelihood estimate is the smallest observed value. The reason is that the support restricts how large can be, and the likelihood increases as moves up to that restriction.
The notation can be easy to reverse: if you meant , the estimate is the sample maximum instead. The derivation below uses .
Likelihood for the sample
Let be independent observations from , where . The density of one observation is
Write the smallest and largest observed values as and . Multiplying the individual densities gives the likelihood
where the indicator is 1 when all observations lie in the proposed interval and 0 otherwise. For a sample compatible with the model, the restriction on the parameter is therefore .
Why the sample minimum maximizes it
Among feasible values of , the likelihood is . As increases while remaining negative, decreases, so increases. Equivalently,
Thus the likelihood is largest at the greatest allowed value of , which is . For an ordinary sample with and ,
This is a constrained maximum at the edge of the allowable parameter range. You should not expect the derivative of the log-likelihood to equal zero there; the maximum occurs at a boundary, not at an interior stationary point.
Worked example
Suppose the observations are , , , and . Their minimum is , so the parameter must satisfy for all four observations to be in the support. The likelihood for a feasible parameter is .
At , the likelihood is . At , it is , which is smaller. Values such as are not feasible because the observation lies below the proposed interval. Therefore the MLE is .
If the endpoints are written the other way around
For with , the likelihood is when and all observations are nonnegative. This likelihood decreases as increases, so the smallest feasible value maximizes it:
This is why checking which endpoint contains the unknown parameter matters: the MLE is the sample minimum when the parameter is the lower endpoint, and the sample maximum when it is the upper endpoint.
Common mistakes
- Using the sample maximum automatically. That is correct for , not for .
- Ignoring the support constraint. A candidate parameter is impossible if even one observation falls outside its interval; its likelihood is zero.
- Looking only for a zero derivative. The likelihood is monotone over the feasible range, so its maximum is at the boundary.
- Assuming the MLE is unbiased. Here, , so the MLE is biased for finite . If an unbiased estimator is needed, is unbiased for .
References
- Statistical Inference, second edition — George Casella and Roger L. Berger
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.