How Do You Calculate Conditional Expectations in Probability Theory?

Click For Summary

Homework Help Overview

The discussion revolves around calculating conditional expectations in probability theory, specifically focusing on the joint probability density function (pdf) and the derivation of E(Y|x) and E(X|y) from it.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the calculation of the marginal pdf f(x) and the conditional pdf f(y|x). There are attempts to derive E(Y|x) through integration, with some questioning the limits of integration and the correctness of the expressions used.

Discussion Status

The discussion includes various attempts to clarify the correct approach to finding f(x) and f(y|x). Some participants express confusion regarding the expected value E(Y|x) and the relationship to the derived expressions. There is an indication of progress as one participant mentions resolving their confusion.

Contextual Notes

Participants are navigating the constraints of the joint pdf defined over specific ranges and are encouraged to visualize the region where the pdf is nonzero. There is an emphasis on ensuring that the calculations align with the defined limits of integration.

Scootertaj
Messages
97
Reaction score
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) = \int Y*f(y|x)dy
f(y|x) = f(x,y) / f(x)

The Attempt at a Solution


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

The answer is supposed to be (1+x)/2
 
Physics news on Phys.org
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)?
 
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?
 
Scootertaj said:
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.
 
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)
 
Just kidding I worked it out, thanks.
 
Scootertaj said:
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K