Stats - Conditional Expectation

Click For Summary

Homework Help Overview

The discussion revolves around conditional expectation in statistics, specifically focusing on the marginal and conditional distributions derived from a joint distribution. Participants are examining the correctness of their calculations and the limits of integration involved in these distributions.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants are checking the limits of integration for marginal distributions and questioning the domains of these distributions. There is a focus on ensuring that the integrals equal 1, which is a requirement for valid probability density functions.

Discussion Status

Some participants have provided guidance on the need to verify the domains of the marginal distributions and have suggested that the integrals should equal 1 if the domains are correct. There is an ongoing exploration of the implications of these domains on the calculations presented.

Contextual Notes

There are indications that the original poster and others are grappling with the definitions and limits of integration, particularly in relation to the joint distribution from which the marginals are derived. The discussion highlights potential misunderstandings regarding the integration process and the resulting domains.

Ted123
Messages
428
Reaction score
0

Homework Statement



[PLAIN]http://img222.imageshack.us/img222/2781/statsqk.jpg

Homework Equations



f_{X} (x) = \int^{\infty}_{-\infty} f_{X,Y} (x,y)\;dy

f_{Y} (y) = \int^{\infty}_{-\infty} f_{X,Y} (x,y)\;dx

f_{X|Y} (x|y) = \frac{f_{X,Y} (x,y)}{f_Y (y)}

f_{Y|X} (y|x) = \frac{f_{X,Y} (x,y)}{f_X (x)}

\mathbb{E}\;[X|Y] = \int^{\infty}_{-\infty} x f_{X|Y} (x|y)\;dx

\mathbb{E}\;[Y|X] = \int^{\infty}_{-\infty} y f_{Y|X} (y|x)\;dy

The Attempt at a Solution



Can anyone check that I've done this correctly (specifically check the limits)?

\displaystyle f_X (x) = \int^{\infty}_x x(y-x)e^{-y}\;dy = xe^{-x} \;\; \text{for} \; x\in [0,y]

\displaystyle f_Y (y) = \int^y_0 x(y-x)e^{-y}\;dx = \frac{y^3}{6} e^{-y} \;\; \text{for} \; y\in [x,\infty )

\displaystyle f_{X|Y} (x|y) = \frac{x(y-x)e^{-y}}{\frac{y^3}{6} e^{-y}} = \frac{6x(y-x)}{y^3}\;\; \text{for} \; x\in [0,y]

\displaystyle f_{Y|X} (y|x) = \frac{x(y-x)e^{-y}}{xe^{-x}} = e^{x-y} (y-x)\;\; \text{for} \; y\in [x,\infty )

\displaystyle\mathbb{E}\;[X|Y]= \int^{\infty}_x ye^{x-y} (y-x)\;dy = x+2

\displaystyle\mathbb{E}\;[Y|X]=\int^{y}_0 \frac{6x^2 (y-x)}{y^3} \;dx = \frac{y}{2}
 
Last edited by a moderator:
Physics news on Phys.org
Ted123 said:

Homework Statement



[PLAIN]http://img222.imageshack.us/img222/2781/statsqk.jpg

Homework Equations



f_{X} (x) = \int^{\infty}_{-\infty} f_{X,Y} (x,y)\;dy

f_{Y} (y) = \int^{\infty}_{-\infty} f_{X,Y} (x,y)\;dx

f_{X|Y} (x|y) = \frac{f_{X,Y} (x,y)}{f_Y (y)}

f_{Y|X} (y|x) = \frac{f_{X,Y} (x,y)}{f_X (x)}

\mathbb{E}\;[X|Y] = \int^{\infty}_{-\infty} x f_{X|Y} (x|y)\;dx

\mathbb{E}\;[Y|X] = \int^{\infty}_{-\infty} y f_{Y|X} (y|x)\;dy

The Attempt at a Solution



Can anyone check that I've done this correctly (specifically check the limits)?

\displaystyle f_X (x) = \int^{\infty}_x x(y-x)e^{-y}\;dy = xe^{-x} \;\; \text{for} \; x\in [0,y]

\displaystyle f_Y (y) = \int^y_0 x(y-x)e^{-y}\;dx = \frac{y^3}{6} e^{-y} \;\; \text{for} \; y\in [x,\infty )

\displaystyle f_{X|Y} (x|y) = \frac{x(y-x)e^{-y}}{\frac{y^3}{6} e^{-y}} = \frac{6x(y-x)}{y^3}\;\; \text{for} \; x\in [0,y]

\displaystyle f_{Y|X} (y|x) = \frac{x(y-x)e^{-y}}{xe^{-x}} = e^{x-y} (y-x)\;\; \text{for} \; y\in [x,\infty )

\displaystyle\mathbb{E}\;[X|Y]= \int^{\infty}_x ye^{x-y} (y-x)\;dy = x+2

\displaystyle\mathbb{E}\;[Y|X]=\int^{y}_0 \frac{6x^2 (y-x)}{y^3} \;dx = \frac{y}{2}

The domains for the marginal distributions aren't correct: think about f_x(x) to have a specific topic. You obtain this distribution by integrating out y
from the joint distribution, so y shouldn't be in the domain of definition. you can see this the following way: for your answer,

<br /> \int_0^y f_X(x) \, dx \ne 1<br />

You seem to have the other quantities correct.
 
Last edited by a moderator:
statdad said:
The domains for the marginal distributions aren't correct: think about f_x(x) to have a specific topic. You obtain this distribution by integrating out y
from the joint distribution, so y shouldn't be in the domain of definition. you can see this the following way: for your answer,

<br /> \int_0^y f_X(x) \, dx \ne 1<br />

You seem to have the other quantities correct.

So should it be f_X (x)\;\text{for}\;x\geq 0 (or x\in [0,\infty ) )?

and f_Y (y)\;\text{for}\;y\geq 0 (or y\in [0,\infty ) )?

Are the conditional density domains correct?
 
Integrate them out - if the domains are correct the integrals should equal 1.
 
statdad said:
Integrate them out - if the domains are correct the integrals should equal 1.

which they do :cool:
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
1K
Replies
3
Views
2K
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
12
Views
2K
Replies
11
Views
3K