Calculating Conditional Probability with Joint Probability Density Function

  • Thread starter Thread starter mrkb80
  • Start date Start date
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.
 
Back
Top