Conditional Expectation

  • Thread starter Scootertaj
  • Start date
  • #1
Scootertaj
97
0
1. Let the joint pdf be f(x,y) = 2 ; 0<x<y<1 ; 0<y<1
Find E(Y|x) and E(X|y)



Homework Equations



E(Y|x) = [itex]\int Y*f(y|x)dy[/itex]
f(y|x) = f(x,y) / f(x)

The Attempt at a Solution


f(x) = [itex]\int 2dy[/itex] from 0 to y = 2y
f(y|x) = f(x,y)/f(x) = 1/2y
E(Y|x) = [itex]\int Y/2Y dy[/itex] from x to 1 = [itex]\int 1/2 dy[/itex] from x to 1
= -(x-1)/2
= (1-x)/2

The answer is supposed to be (1+x)/2
 

Answers and Replies

  • #2
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
Your expression for f(x) is wrong. It should be a function of x, not of y. Try drawing a picture of the region where f(x,y) is nonzero. Then answer this question: for a fixed value of x, what values of y will give you a nonzero f(x,y)?
 
  • #3
Scootertaj
97
0
The only other way I can think of doing f(x) would be to integrate from 0 to 1 instead. f(x) is defined as the integral of the joint pdf in terms of y.

So, we could get integral(2dy) from x to 1?
 
  • #4
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
The only other way I can think of doing f(x) would be to integrate from 0 to 1 instead. f(x) is defined as the integral of the joint pdf in terms of y.

So, we could get integral(2dy) from x to 1?
Correct, from x to 1 (not as 0 to 1 as you wrote in the previous paragraph). Also be sure to state which values of x this is valid for.
 
  • #5
Scootertaj
97
0
That will give us 2(1-x) so f(y|x) = 1/(1-x)

I'm confused how this will give (1+x)/2 for E(y|x)
 
  • #6
Scootertaj
97
0
Just kidding I worked it out, thanks.
 
  • #7
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
That will give us 2(1-x) so f(y|x) = 1/(1-x)

I'm confused how this will give (1+x)/2 for E(y|x)

That's the answer I got. What integral are you calculating for E(y|x)?

[edit] Cool, I see you got it.
 

Suggested for: Conditional Expectation

Replies
9
Views
164
Replies
6
Views
154
Replies
5
Views
217
Replies
4
Views
843
Replies
4
Views
359
Replies
2
Views
551
Replies
10
Views
1K
Replies
16
Views
560
Replies
4
Views
1K
Replies
3
Views
403
Top