Solution

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

Multiplying the reciprocal improper prior by the likelihood function gives
Thus this discrete uniform endpoint posterior is proper. Its exact cumulative probability is . Integral approximation gives and , so
These approximations are useful when is moderately large and are not exact discrete identities. For example the exact untruncated median at is . Although its quantiles are finite, its posterior mean is infinite, since its expectation numerator is the divergent sum .

New to topics? Read the docs here!