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.