Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2009/iii/paper-36/2/a/solution

Under the discrete uniform distribution, the observation has probability when its value is an available label, and zero otherwise. Therefore the likelihood function is
This is the discrete uniform endpoint posterior model's likelihood; all endpoints smaller than the observed label are excluded.

New to topics? Read the docs here!