What are the Properties of Joint Density Functions?

Click For Summary

Homework Help Overview

The discussion revolves around the properties of joint probability density functions, specifically focusing on the joint density function of two random variables, X and Y. The original poster presents a function defined with an indicator condition and seeks to find constants, marginal densities, means, variances, and conditional densities.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the limits of integration for the joint density function and question how to correctly set up the integrals for finding the constant c and the marginal densities. There are discussions about the shape of the region defined by the indicator function and the implications for integration limits.

Discussion Status

Participants are actively discussing the setup of integrals and the definitions of marginal densities. Some have provided guidance on how to approach the calculation of the constant c and the marginal densities, while others are clarifying the need for proper definitions and limits based on the values of X and Y.

Contextual Notes

There is an emphasis on correctly defining the functions for all values of X and Y, as well as ensuring that the limits of integration reflect the conditions imposed by the joint density function. The discussion also highlights the importance of showing work for integrals and providing formulas that indicate where the functions are zero.

Dassinia
Messages
141
Reaction score
0
Hello,

Homework Statement


The joint probability density function of X and Y is given by
f(x,y)=c*1(|y|<x<1) 1 is the indicator function

-Find c
-Find the marginal densities of X and Y
-Find the means, variances and the covariance
-Find conditional densities, means and variances of X given Y and of Y given X

Homework Equations


3. The Attempt at a Solution [/B]
The thing is I don't know how to deal with the |y| to find the limits of integration
For example to find c :
1=c∫∫f(x,y) dx dy
y goes from -∞ to 1
But for x ? :oldconfused:

Thanks
 
Physics news on Phys.org
Dassinia said:
Hello,

Homework Statement


The joint probability density function of X and Y is given by
f(x,y)=c*1(|y|<x<1) 1 is the indicator function

-Find c
-Find the marginal densities of X and Y
-Find the means, variances and the covariance
-Find conditional densities, means and variances of X given Y and of Y given X

Homework Equations


3. The Attempt at a Solution [/B]
The thing is I don't know how to deal with the |y| to find the limits of integration
For example to find c :
1=c∫∫f(x,y) dx dy
y goes from -∞ to 1
But for x ? :oldconfused:

Thanks

Have you drawn a picture in the ##xy## plane of the region where ##|y|<x<1##?
 
LCKurtz said:
Have you drawn a picture in the ##xy## plane of the region where ##|y|<x<1##?
No,
It gives a triangle with x from 0 to 1 and y from -1 to 1, so these would be the limits right ?
Thanks
 
Dassinia said:
No,
It gives a triangle with x from 0 to 1 and y from -1 to 1, so these would be the limits right ?
Thanks
It's a triangle alright. But constant limits like that would describe a rectangle.
 
Of course
x from 0 to 1 and y from -x to x
 
Dassinia said:
Of course
x from 0 to 1 and y from -x to x
Yes, assuming integration order ##dydx##, that would cover the whole triangle. Of course, you will need to take a bit more care with the limits when you calculate the marginal densities.
 
LCKurtz said:
Yes, assuming integration order ##dydx##, that would cover the whole triangle. Of course, you will need to take a bit more care with the limits when you calculate the marginal densities.
For the marginal densities:
fX(x)=∫ f(x,y) dy from -infinity to x
fX(x)=∫ c dy from -x to x
and
fY(y)=∫ f(x,y) dx from -infinity to y
fY(y)=∫ c dx from 0 to 1 it'd give 1 ?
 
Last edited:
Dassinia said:
For the marginal densities:
fX(x)=∫ f(x,y) dy from -infinity to x
fX(x)=∫ c dy from -x to x
and
fY(y)=∫ f(x,y) dx from -infinity to y
fY(y)=∫ c dx from 0 to 1 it'd give 1 ?

Before you start the marginal densities you should figure out the value of ##c## by setting ##\int_{-\infty}^{\infty}\int_{-\infty}^{\infty} f(x,y)~dydx = 1##. Of course, you don't need infinite limits for this particular ##f##, as you have noted above.

Then, when you do the marginal densities you need actual formulas for ##f_X(x)## and ##f_Y(y)##. You need to work out the integrals and give formulas in ##x## or ##y## and indicating where they are zero. Show your work for them.
 
LCKurtz said:
Before you start the marginal densities you should figure out the value of ##c## by setting ##\int_{-\infty}^{\infty}\int_{-\infty}^{\infty} f(x,y)~dydx = 1##. Of course, you don't need infinite limits for this particular ##f##, as you have noted above.

Then, when you do the marginal densities you need actual formulas for ##f_X(x)## and ##f_Y(y)##. You need to work out the integrals and give formulas in ##x## or ##y## and indicating where they are zero. Show your work for them.

1=∫∫ c dy dx with y from -x to x and x from 0 to 1
1=∫ 2x dx from 0 to 1
1=c
Marginal densities
fX(x)=∫ f(x,y) dy
fX(x)=∫ 1 dy from -x to x
fX(x)=2x
and
fY(y)=∫ f(x,y) dx
fY(y)=∫ 1 dx from 0 to 1
fy(y)=1 ? Or my limits of integration are false ?
Thanks
 
  • #10
Dassinia said:
1=∫∫ c dy dx with y from -x to x and x from 0 to 1
1=∫ 2x dx from 0 to 1
1=c

OK.

Marginal densities
fX(x)=∫ f(x,y) dy
fX(x)=∫ 1 dy from -x to x
fX(x)=2x

You have to define ##f_X(x)## for all ##x##. It is only ##2x## for certain values of ##x##. ##f(x,y)## isn't ##1## for all ##x,y##.

and
fY(y)=∫ f(x,y) dx
fY(y)=∫ 1 dx from 0 to 1
fy(y)=1 ? Or my limits of integration are false ?
Thanks

Again, you have to define it for all ##y##. And the integrand isn't ##1## for all ##y##, and the limits depend on the value of ##y##.
 
  • #11
LCKurtz said:
OK.
You have to define ##f_X(x)## for all ##x##. It is only ##2x## for certain values of ##x##. ##f(x,y)## isn't ##1## for all ##x,y##.
Again, you have to define it for all ##y##. And the integrand isn't ##1## for all ##y##, and the limits depend on the value of ##y##.

fX(x)=2x when x ∈ [0,1]
and fX(x)=0 elsewhere

For the limits of the marginal density of Y, is it
fY(y)=∫ 1 dx from |y| to 1
fy(y)=1-|y| ? when y ∈ [-1;1]
fY(y)=0 elsewhere
 
  • #12
Dassinia said:
fX(x)=2x when x ∈ [0,1]
and fX(x)=0 elsewhere

For the limits of the marginal density of Y, is it
fY(y)=∫ 1 dx from |y| to 1
fy(y)=1-|y| ? when y ∈ [-1;1]
fY(y)=0 elsewhere

Yes. Those are correct.
 
  • #13
LCKurtz said:
Yes. Those are correct.
I just have one last question
For the calculation of the conditional mean
E[X|Y]=∫ x * fX|Y(x|y) dx
=∫ x * f(x,y)/fY(y) dx
=∫ x * 1/(1-|y|) dx
Here for the limits of integration I took |y| to 1, is it correct ?
Thanks
 
  • #14
Dassinia said:
I just have one last question
For the calculation of the conditional mean
E[X|Y]=∫ x * fX|Y(x|y) dx
=∫ x * f(x,y)/fY(y) dx
=∫ x * 1/(1-|y|) dx
Here for the limits of integration I took |y| to 1, is it correct ?
Thanks
That looks like a correct setup. What did you get for your final answer? By the way, it is easy to write integrals in Tex and you should learn to do it. Just right click on the expression below to see how it is done$$
E[y|x] = \int_{|y|}^{1} \frac{x}{1-|y|}dx$$ Just surround it with a pair of ## or $$ depending on whether you want it on the same line or a separate line.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K