IMPLEMENTING STOCHASTIC DOMINANCE WITH RESPECT TO A FUNCTION · Study