Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2004/ib/paper-4/19h/ii/solution

This relative absolute-error loss weights each parameter by . Its posterior expected loss is
The effective density for the Bayes estimator under weighted absolute loss is proportional to , hence an exponential distribution of rate . Its median solves .
More explicitly, for , differentiating the split integrals at gives and . For , the loss has derivative , so its minimum cannot lie there. The unique global minimum is therefore
This is the weighted posterior median; the ordinary median of the Gamma posterior would minimize unweighted absolute loss and would give a different answer.

New to topics? Read the docs here!