Create a higher probability to smaller values 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.
 A: What about using a monotonic transformation which maps elements from $\mathbb{R}$ to $\mathbb{R}_{>0}$: like a power transformation, doing it in the base you want (I mean instead of using the constant $e ≈ 2.71828...$):
If one has 
$A_{1} = -10$ , $B_{1} = 4$
$A_{2} = 6$ , $B_{2} = 4$
$A_{3} = 80$ , $B_{3} = 79$
and one uses the following base, say $e'= 0.905723664263907$ (lower than $1$ to make the function be monotonic decreasing on $\mathbb{R}$), one gets
$e'^{A_{1}}=2.6918003852647$, $e'^{B_1}=0.672950096316179$
$e'^{A_{2}}=0.552044756836908$, $e'^{B_2}=0.672950096316179$
$e'^{A_{3}}=0.000362791574496337$, $e'^{B_3}=0.000400554373050618$
finally one gets the following weights
$\frac{e'^{A_{1}}}{e'^{A_{1}}+e'^{B_{1}}} = 0.8$
$\frac{e'^{A_{2}}}{e'^{A_{2}}+e'^{B_{2}}} = 0.450650675$
$\frac{e'^{A_{3}}}{e'^{A_{3}}+e'^{B_{3}}} = 0.475264951$
As can be seen above, I chose $e'$ so as to get $0.8$ for the weight of $A_1$. But as you surely know, it could have been chosen relatively to the desired weight associated to $A_2$, $A_3$, none of those, any optimization/equalization criterion or simply setting $e'=\exp(-1)$.
A: There are many choices, but here's an approach that will let you design many solutions easily. Break this task into two steps.
One scheme is to take some transformation $t$ of the values and then scale to $1$: $P(A) = \frac{t(A)}{t(A)+t(B)}$.
Note that $t$ should be positive and decreasing; this will make sure that smaller values get higher probability and that probabilities remain between $0$ and $1$.
For example either of $t(x) = \exp(a+bx)/(1+\exp(a+bx))$, or $t(x)=a+b.\exp(-cx)$
would all work when all the parameters ($a,b,c$) are positive. Any continuous monotonic decreasing survivor function on the real line would work ($t(x)=1-F(x)$ for any cdf $F$), as would $\log(1/F(x))$. Any number of other such functions might be used.
So consider $t(x) = \log(1/\Phi(\frac{x}{5}))$ (where $\Phi$ is the standard normal cdf). (A variation on one of the functions I mentioned before.)
Then for $A=-10$, $B=4$ we would have $P(A) =  \frac{\log(1/\Phi(\frac{-10}{5}))}{\log(1/\Phi(\frac{-10}{5}))+\log(1/\Phi(\frac{4}{5}))} = \frac{3.783}{ 3.783+0.2381}=0.941$ (and $P(B)=0.059$).
