Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old October 11th, 2008, 07:47 AM
Junior Member
 
Join Date: Oct 2007
Posts: 55
Country:
Thanks: 20
Thanked 0 Times in 0 Posts
brd_7 is on a distinguished road
Default Joint Probability Function

Let X and Y have joint probability density function

fX,Y(x,y) = x+y, for 0 <=x<= 1, o<=y<=1
0, otherwise

How do i go about determining the corr(X,Y)?

Could someone outline the steps please.. Any help would be appreciated..
Reply With Quote
Advertisement
 
  #2  
Old October 11th, 2008, 03:29 PM
Super Member

 
Join Date: Aug 2008
Location: Lyon, France
Posts: 733
Country:
Thanks: 44
Thanked 469 Times in 390 Posts
Laurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to all
Default

One has {\rm Corr}(X,Y)=\frac{{\rm Cov}(X,Y)}{\sqrt{{\rm Var}(X){\rm Var}(Y)}}=\frac{E[XY]-E[X]E[Y]}{\sqrt{(E[X^2]-E[X]^2)(E[Y^2]-E[Y]^2)}}, right? So what you need to compute is E[XY], E[X], E[Y], E[X^2] and E[Y^2]. In fact, the pdf of (X,Y) is symmetric in x,y, so that X and Y have same distribution and the formula reduces to: {\rm Corr}(X,Y)=\frac{E[XY]-E[X]^2}{E[X^2]-E[X]^2}.
To compute E[XY], just integrate xy times the pdf of (X,Y) (over the square 0\leq x,y\leq 1).
You can do the same with the other ones (integrating x and x^2), but you may find it quicker to first determine the pdf of X. For that, you just have to integrate the pdf of (X,Y) with respect to the variable y, keeping x fixed.
Reply With Quote
The Following 3 Users Say Thank You to Laurent For This Useful Post:
Donate to MHF
  #3  
Old October 11th, 2008, 04:19 PM
mr fantastic's Avatar
Flow Master

 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 12,002
Country:
Thanks: 2,510
Thanked 4,694 Times in 4,131 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by Laurent View Post
One has {\rm Corr}(X,Y)=\frac{{\rm Cov}(X,Y)}{\sqrt{{\rm Var}(X){\rm Var}(Y)}}=\frac{E[XY]-E[X]E[Y]}{\sqrt{(E[X^2]-E[X]^2)(E[Y^2]-E[Y]^2)}}, right? So what you need to compute is E[XY], E[X], E[Y], E[X^2] and E[Y^2]. In fact, the pdf of (X,Y) is symmetric in x,y, so that X and Y have same distribution and the formula reduces to: {\rm Corr}(X,Y)=\frac{E[XY]-E[X]^2}{E[X^2]-E[X]^2}.
To compute E[XY], just integrate xy times the pdf of (X,Y) (over the square 0\leq x,y\leq 1).
You can do the same with the other ones (integrating x and x^2), but you may find it quicker to first determine the pdf of X. For that, you just have to integrate the pdf of (X,Y) with respect to the variable y, keeping x fixed.
I was just about to reply when I saw yours. I misread the question as find Cov(X, Y) ..... So it's lucky you replied first (although my reply would have got the OP half way ...... )
__________________
There are two things you should never try to prove: the impossible and the obvious.

The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low and achieving our mark. (Michelangelo Buonarroti)

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #4  
Old October 11th, 2008, 05:25 PM
Junior Member
 
Join Date: Oct 2007
Posts: 55
Country:
Thanks: 20
Thanked 0 Times in 0 Posts
brd_7 is on a distinguished road
Default

Thanks so much, Ok this is what i got...


E[XY] = 1/3

E[X]^2 = (1/3 + y/2)^2 = y^2/4 + 2y/6 + 1/9

E[X^2] = 1/4 + y/3

E[Y] = 1/3 + x/2

And as a final answer.. i gained..

y^4/16 - 2y^3/24 - 13y^2/144 + 10y/216 + 10/324

Reply With Quote
  #5  
Old October 11th, 2008, 05:29 PM
Super Member

 
Join Date: Aug 2008
Location: Lyon, France
Posts: 733
Country:
Thanks: 44
Thanked 469 Times in 390 Posts
Laurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to allLaurent is a name known to all
Default

Quote:
Originally Posted by brd_7 View Post
Thanks so much, Ok this is what i got...

E[X]^2 = (1/3 + y/2)^2 = y^2/4 + 2y/6 + 1/9

There's no y in the answer (what is y?). In order to find the average, you integrate y as well:
E[X]=\int_0^1\int_0^1 x(x+y)dx\,dy. The same for X^2.
Reply With Quote
The following users thank Laurent for this useful post:
Donate to MHF
  #6  
Old October 12th, 2008, 04:14 AM
Junior Member
 
Join Date: Oct 2007
Posts: 55
Country:
Thanks: 20
Thanked 0 Times in 0 Posts
brd_7 is on a distinguished road
Default

Oh right, that makes sense.. Im assuming you would do the same if i needed E(Y)?

Well as a final answer i got -1/11..

Thanks for all the help again.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 04:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.