Say I have two number ranges, whole numbers only.
Range 1: [-3,16]
Range 2: [3,22]
I choose randomly one number from Range 1 and one number from Range 2.
Lets call them x and y.
How do I find the probability that the number x will be greater than the number y?
Best Answer
$$P(x > y) = P(x,y \in [3,16])[1/2 *P(no\:\: tie \: | \: x,y \in [3,16])]$$
$$= (14/20)(14/20)(1/2 * 13/14)$$
$$ = 91/400.$$
To check your reasoning on these things, I suggest downloading the free program called R and doing a quick sim like this:
Output:
Shown is the 99.9% confidence interval. This runs until you break it, and you can restart it from the main while loop to have it continue until the confidence interval is as tight as you want.