Is P(X<Y) Equal to 1/3 for f(x,y) = e^{-x-2y}?

Click For Summary
The discussion centers on calculating P(X<Y) for the joint probability density function f(x,y) = e^{-x-2y}. It is proposed that P(X<Y) can be expressed as 1 - P(X>Y), leading to an integral calculation that suggests the probability equals 1/3. However, there is confusion regarding the integration bounds, with the correct domain being 0 < x < ∞ and 0 < y < ∞, which results in the integral summing to 1/2 instead of 1. The conversation also explores adjusting the cumulative distribution function to ensure it remains a valid probability density function. Overall, the setup for the probability calculation is deemed correct, but the bounds and normalization require clarification.
tronter
Messages
183
Reaction score
1
If f(x,y) = e^{-x-2y} find P(X&lt;Y).

So is this equaled to 1 - P(X&gt;Y) = 1 - \int\limits_{0}^{\infty} \int\limits_{0}^{x} e^{-x-2y} \ dy \ dx = \frac{1}{3}?
 
Physics news on Phys.org
What is the domain? \int_0^\infty\int_0^\infty f(x,y)dydx=1/2, not 1.
 
the domain is 0 &lt; x &lt; \infty, 0 &lt; y &lt; \infty. It is equaled to 1, so its a valid pdf.
 
On that domain the probability doesn't add up to 1.
 
whoops, I meant -\infty &lt; x &lt; \infty, -\infty &lt; y&lt; \infty.
 
It looks like the lower bound should be -Log[2]/3.

For a "suitable" lower bound that equates the double integral to 1, your formula is correct.

Alternatively, since integration over [0, +infinity) gives 1/2, you might define the cumulative distribution F*(x,y) = F(x,y) + 1/2, where F(x,y) is the double integral of f(s,t) over s from 0 to x and t from 0 to y. In this case f is a valid pdf.
 
Last edited:
forgetting about the bounds for the moment, is the general set up correct?
 
See my previous post (edited).
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 20 ·
Replies
20
Views
1K
  • · Replies 105 ·
4
Replies
105
Views
6K
Replies
2
Views
2K
Replies
4
Views
2K