I have pairs of values e.g.
$A_{1} = -10$ , $B_{1} = 4$
$A_{2} = 6$ , $B_{2} = 4$
$A_{3} = 80$ , $B_{3} = 79$
I want to create a probability, $P(A) + P(B) = 1$ , such that the smaller values of A or B have higher probability. For example:
$P(A_{1}) = 0.8$ , $P(B_{1}) = 0.2$
$P(A_{2}) = 0.35$ , $P(B_{2}) = 0.65$
$P(A_{3}) = 0.47$ , $P(B_{3}) = 0.53$
I have broken my head trying to generate this type of proability but I haven't been able. I thought something like:
$P(A_{1}) = \frac{|A|}{|A+B|}$
But I am afraid this doesn't yield the expected results, specially when there are negative and positive values like in $A_{1}$ and $B_{1}$.
I would appreciate some suggestion on how I can generate such probabilities.