
Advanced Statistics Advanced Probability and Statistics Math Forum 
 LinkBack  Thread Tools  Display Modes 
October 27th, 2018, 02:37 PM  #1 
Senior Member Joined: Jan 2017 From: Toronto Posts: 209 Thanks: 3  joint probability distribution.
Let X be a random variable with values 0, 1 and 3, and let Y be a random variable with values 1, 1, 2, with the following joint distribution: Code: Y 1 1 2  0  0.12 0.08 0.10 X 1  0.20 0.04 0.25 3  0.08 0.10 0.03 1) Compute the marginal distributions. MargDist(X) = { 0.3, 0.49, 0.21 } MargDist(Y) = { 0.4, 0.22, 0.38 } 2) Are X and Y independent? Justify your answer. No. X and Y are not independent. Recall If X and Y were independent, then P(X,Y) = P(X) * P(Y) P(X=1) = P(X=1,Y=1)+P(X=1,Y=1)+P(X=1,Y=2) = 0.20+0.04+0.25 = 0.49 P(Y=1) = P(Y=1,X=0)+P(Y=1,X=1)+P(Y=1,X=3) = 0.08+0.04+0.10 = 0.22 P(X=1,Y=1) = 0.04 P(X=1) * P(Y=1) = 0.49 * 0.22 = 0.1078 P(X=1,Y=1) <> P(X=1) * P(Y=1) 3) Compute Exp(X) and Exp(Y) Exp(X) = Exp(X=0) + Exp(X=1) + Exp(X=3) = (1)(0.12) + (1)(0.08) + (2)(0.10) + (1)(0.20) + (1)(0.04) + (2)(0.25) + (1)(0.08) + (1)(0.10) + (2)(0.03) = 0.58 Exp(Y) = Exp(Y=1) + Exp(Y=1) + Exp(Y=2) = (0)(0.12) + (1)(0.20) + (3)(0.08) + (0)(0.08) + (1)(0.04) + (3)(0.10) + (0)(0.10) + (1)(0.25) + (3)(0.03) = 1.12 4) Compute the distribution of X + Y. = { 0.12, 0.08, 0.10, 0.20, 0.04, 0.25, 0.08, 0.10, 0.03 } 5) Compute the joint distribution of X, Y. See Ans 4. 5) Compute P(XY=2) and P(YX=1). P(XY=2) = 0.1+0.25+0.03 = 0.38 P(YX=1) = 0.2+0.04+0.25 = 0.49 
October 27th, 2018, 07:19 PM  #2 
Senior Member Joined: Sep 2015 From: USA Posts: 2,371 Thanks: 1275 
You seem to have $E[X]$ and $E[Y]$ flipped. let $X=(0,1,3)$ and the marginal of $X$ was computed correctly as $p_X=(0.3, 0.49, 0.21 )$ $E[X] = X.p_X = 1.12$ similarly $E[Y]=0.58$ 
October 27th, 2018, 07:29 PM  #3 
Senior Member Joined: Sep 2015 From: USA Posts: 2,371 Thanks: 1275 
For (4) you need to include the values. 5) you've done incorrectly. You should end up with 3 element distributions. 
October 28th, 2018, 03:08 AM  #4 
Senior Member Joined: Jan 2017 From: Toronto Posts: 209 Thanks: 3  
October 28th, 2018, 07:03 AM  #5 
Senior Member Joined: Jan 2017 From: Toronto Posts: 209 Thanks: 3  Code: 4) Compute the distribution of X + Y. Answer: Dist(X + Y) = { P(X=0,Y=1), P(X=0,Y=1), P(X=0,Y=2), P(X=1,Y=1), P(X=1,Y=1), P(X=1,Y=2), P(X=3,Y=1), P(X=3,Y=1), P(X=3,Y=2) } 5) Compute P(XY=2) and P(YX=1). Answer: P(XY=2) = { 0.1, 0.25, 0.03 } P(YX=1) = { 0.2, 0.04, 0.25 } 
October 28th, 2018, 09:04 AM  #6  
Senior Member Joined: Sep 2015 From: USA Posts: 2,371 Thanks: 1275  Quote:
 
October 28th, 2018, 09:54 AM  #7 
Senior Member Joined: Jan 2017 From: Toronto Posts: 209 Thanks: 3 
If you were talking about question 5. No. Let me think about it... 
October 28th, 2018, 10:26 AM  #8 
Senior Member Joined: Sep 2015 From: USA Posts: 2,371 Thanks: 1275  
October 28th, 2018, 11:21 AM  #9 
Senior Member Joined: Jan 2017 From: Toronto Posts: 209 Thanks: 3 
0.1+0.25+0.03=0.38 p(xy=2) = { 0.1/0.38, 0.25/0.38, 0.03/0.38 } 0.2+0.04+0.25=0.49 p(yx=1) = { 0.2/0.49, 0.04/0.49, 0.25/0.49 } 
October 28th, 2018, 11:43 AM  #10 
Senior Member Joined: Sep 2015 From: USA Posts: 2,371 Thanks: 1275  

Tags 
distribution, joint, probability 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
joint probability distribution.  zollen  Linear Algebra  0  September 29th, 2018 12:53 PM 
How to calculate the expectation of a joint probability distribution com  fun  Probability and Statistics  6  January 25th, 2018 04:54 PM 
Joint Probability Density Function of a Sample of A Normal Distribution  IndependentThinker  Advanced Statistics  1  February 27th, 2015 02:01 PM 
Joint Probability Distribution question  xdeathcorex  Probability and Statistics  0  April 22nd, 2011 07:55 AM 
Joint probability distribution of random variables  meph1st0pheles  Advanced Statistics  1  March 23rd, 2010 05:47 PM 