How do I compare these two statistical PDFs to see which is more likely to be bigger than the other?

36 Views Asked by At

The attached image has two PDFs. The red one is $U(0,1)$. The blue one is more likely to be closer to 1 than to 0. Let's call the uniform distribution $A$ and the second distribution $B$. How do I find $P(B>A)$?

enter image description here

1

There are 1 best solutions below

1
On BEST ANSWER

Figures from simulation.

At left, points illustrate the joint distribution of A and B. You want the proportion of points above the green diagonal.

At right, the histogram approximates the density function of B-A. You want the proportion of area in the histogram to the right of the vertical red line.

enter image description here