I need a function $f(x)$ such that given a set of values $X=\{x1, x2, ...\}$ and a function $rand()$ that returns a value between 0 and 1, $P[f(a) \ge f(b)] = \frac{a}{b} \forall\ a,b\ \epsilon \ X$
Is there an f(x) such that P[f(a) >= f(b)] = a/b given a set of possible values for a and b?
Dan Barry
- 13
- 3