What are the Properties of Joint Density Functions?

In summary: 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...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...c
  • #1
Dassinia
144
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
  • #2
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##?
 
  • #3
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
 
  • #4
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.
 
  • #5
Of course
x from 0 to 1 and y from -x to x
 
  • #6
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.
 
  • #7
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:
  • #8
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.
 
  • #9
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.
 

FAQ: What are the Properties of Joint Density Functions?

1. What is a joint density function?

A joint density function is a mathematical function that describes the probability of multiple random variables taking on specific values at the same time.

2. How is a joint density function different from a probability distribution function?

A probability distribution function describes the probability of a single random variable taking on a specific value, while a joint density function describes the probability of multiple random variables taking on specific values simultaneously.

3. How is a joint density function used in statistics?

Joint density functions are used in statistics to model and analyze the relationship between multiple variables. They can be used to calculate probabilities, determine correlation between variables, and make predictions.

4. What is the difference between a joint density function and a marginal density function?

A joint density function describes the probability of multiple variables taking on specific values simultaneously, while a marginal density function describes the probability of a single variable taking on a specific value without considering the other variables.

5. Can a joint density function have more than two variables?

Yes, a joint density function can have any number of variables. However, it becomes increasingly difficult to visualize and analyze as the number of variables increases.

Back
Top