X ~ Gamma ($r_1$ = 3, $\lambda_1$ = 2)
Y ~ Gamma ($r_2$ = 5, $\lambda_2$ = 7)
Find P(X > Y)
To find this, I know that I can double integrate the joint distribution of X and Y but I wanted to know a more intuitive approach to this problem. I was suggested to think of this probability as a binomial distribution where T~ Bin( n = $r_1$ + $r_2$ - 1 = 7, p = $\left(\frac{\lambda_2}{\lambda_1 + \lambda_2}\right)$) I would like to have this explained please.
I think @JeanMarie's suggestion is an interesting one.
I don't know if you find simulations to be intuitive. But here is an approximate solution (correct to about three places) based on simulation in R. In the following I'm assuming the $\lambda$'s are rate parameters. (If they're mean parameters, change to $1/2$ and $1/7$.) The desired probability is about 0.812.
The following code performs your experiment a million times and then finds the proportion of instances in which $X > Y.$ (In the code,
x > yis a logical vector ofTRUEs andFALSEs, andmeanfinds the proportion ofTRUEs.)The figure below has 50,000 points (a million would have made a dense smudge). Blue points (40,619 of them) satisfy the condition $X > Y$.