Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 3.8 - MLE for the uniform distribution
Exercise 3.8 - MLE for the uniform distribution
Answers
The Bayesian analysis for the uniform distribution seems to be of less significance since uniform distribution appears to appear less frequently than other continuous distributions. But the exercises remain good introductory examples.
The likelihood for the uniform distribution is a truncated function, whose domain is , so we must have . Then the likelihood lookes like:
or generally:
For question (a), in order to maximize this value with , the outcome is:
For question (b), if then is zero. Otherwise the probability is .
For question (c), we believe that MLE for the uniform distribution is not fluent enough since when passes , the predicted probability drops as a step function, which is undesired for a continuous distribution.