Calculating Conditional Probability with Joint Probability Density Function

  • Thread starter Thread starter mrkb80
  • Start date Start date
Click For Summary
The discussion focuses on calculating the conditional probability P(Y<1 | X<1) using the joint probability density function f_{X,Y}(x,y)=2e^{-(x+y)} for 0 ≤ x ≤ y and y ≥ 0. Participants explore the correct application of the conditional probability formula and the necessary integrations for both the numerator and denominator. A key point of confusion arises regarding the marginal density function f_X(x), where it is clarified that it should not include the variable y. The correct marginal density function is identified as f_X(x)=2e^{-x}, which resolves the misunderstanding. The conversation emphasizes the importance of accurately defining the functions involved in the calculations.
mrkb80
Messages
40
Reaction score
0

Homework Statement



let f_{X,Y}(x,y)=2e^{-(x+y)} for 0 \le x \le y and y \ge 0 \\<br /> <br />find P(Y&lt;1 | X &lt; 1)<br />

Homework Equations


<br /> f(X=x | y=y) = \dfrac{f_{X,Y}(x,y)}{f_y(y)}<br />

The Attempt at a Solution


P(Y&lt;1 | X&lt;1) = \int_0^1 \dfrac{f_{X,Y}(x,y)}{\int_0^1 f_X(x) dx} dy

before I integrate, I want to make sure I understand the concept, which I don't think I do.
 
Physics news on Phys.org
mrkb80 said:

Homework Statement



let f_{X,Y}(x,y)=2e^{-(x+y)} for 0 \le x \le y and y \ge 0 \\<br /> <br />find P(Y&lt;1 | X &lt; 1)<br />

Homework Equations


<br /> f(X=x | y=y) = \dfrac{f_{X,Y}(x,y)}{f_y(y)}<br />

The Attempt at a Solution


P(Y&lt;1 | X&lt;1) = \int_0^1 \dfrac{f_{X,Y}(x,y)}{\int_0^1 f_X(x) dx} dy

before I integrate, I want to make sure I understand the concept, which I don't think I do.

Use the formula
P(A|B) = \frac{P(A\, \&amp; \, B)}{P(B)}.
with appropriately-defined A and B.

RGV
 
I'm thinking that would be something like this:

P(A) = P(Y<1)
P(B) = P(X<1)=\int_0^1 f_X(x) dx
so then P(A \cap B) =P(Y&lt;1 \cap X&lt;1) = \int_0^1 \int_0^y f_{X,Y}(x,y) dxdy

and then \dfrac{\int_0^1 \int_0^y f_{X,Y}(x,y) dxdy}{\int_0^1 f_X(x) dx}

or am I still not understanding?
 
mrkb80 said:
I'm thinking that would be something like this:

P(A) = P(Y<1)
P(B) = P(X<1)=\int_0^1 f_X(x) dx
so then P(A \cap B) =P(Y&lt;1 \cap X&lt;1) = \int_0^1 \int_0^y f_{X,Y}(x,y) dxdy

and then \dfrac{\int_0^1 \int_0^y f_{X,Y}(x,y) dxdy}{\int_0^1 f_X(x) dx}

or am I still not understanding?

This is OK. Now all you need do is find fX, and do the integrations in the numerator and the denominator.

RGV
 
Great. Thanks for the help again.
 
I thought I understood it, but something is not correct. just working on the denominator, I get f_X(x)=-2(e^{-(x+y)}-e^{-x}) and then if I try to integrate that I get \int_0^1 f_X(x) dx = 2e^{-y-1}+2e^{-y}+e^{-1}+1 What am I missing here?
 
mrkb80 said:
I thought I understood it, but something is not correct. just working on the denominator, I get f_X(x)=-2(e^{-(x+y)}-e^{-x}) and then if I try to integrate that I get \int_0^1 f_X(x) dx = 2e^{-y-1}+2e^{-y}+e^{-1}+1 What am I missing here?

You are missing the fact that f_X(x) cannot have y in it. You need to start again.

RGV
 
You're right. I see my mistake: f_X(x)=2e^{-x} makes much more sense.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K