Question

For each of the following joint probability mass functions, make a table, find the two marginal...

For each of the following joint probability mass functions, make a table, find the two marginal mass functions, and decide whether X and Y are independent. (In every case the mass function is defined to be 0 at values of x and y not specified.)

a. p(x, y) = 1 36 if both x and y are in the set {1, 2, 3, 4, 5, 6}.

b. p(x, y) = x 2y 84 for x = 1, 2, 3 and y = 1, 2, 3.

c. p(x, y) = 1 14 if x is an integer between 0 and 3 (inclusive) and y is an integer between x and 4 (inclusive).

Homework Answers

Answer #1

a) p(x,y) = 1/36 for both x and y are in the set {1, 2, 3, 4, 5, 6}, the table for different values of x and y can be presented as follows. As for p(x,y) is a fixed value of 1/36, we get

X\Y 1 2 3 4 5 6
1 1/36 1/36 1/36 1/36 1/36 1/36
2 1/36 1/36 1/36 1/36 1/36 1/36
3 1/36 1/36 1/36 1/36 1/36 1/36
4 1/36 1/36 1/36 1/36 1/36 1/36
5 1/36 1/36 1/36 1/36 1/36 1/36
6 1/36 1/36 1/36 1/36 1/36 1/36

The marginal distribution of X which is a discrete random variable taking values from the set {1, 2, 3, 4, 5, 6} is defined as

Thus for x = 1, we get

Similarly, if we sum the rows of the table above we get the marginal distribution of X and

The marginal distribution of Y which is a discrete random variable taking values from the set {1, 2, 3, 4, 5, 6} is defined as

if we sum the columns of the table above we get the marginal distribution of Y, thus marginal distributions are as follows

X\Y 1 2 3 4 5 6 p(X)
1 1/36 1/36 1/36 1/36 1/36 1/36 1/6
2 1/36 1/36 1/36 1/36 1/36 1/36 1/6
3 1/36 1/36 1/36 1/36 1/36 1/36 1/6
4 1/36 1/36 1/36 1/36 1/36 1/36 1/6
5 1/36 1/36 1/36 1/36 1/36 1/36 1/6
6 1/36 1/36 1/36 1/36 1/36 1/36 1/6
P(Y) 1/6 1/6 1/6 1/6 1/6 1/6

The random variables X and Y are independent if and only if:

for all x and y in the set,  Otherwise, X and Y are said to be dependent.

Thus, for X and Y belonging to set {1, 2, 3, 4, 5, 6}, the multiplication of marginal distribution gives us,

p(x)*p(y) = 1/6*1/6 = 1/36 = p(x,y)

which is equal to joint probability mass functions p(x,y), thus X and Y are independent. for x = 1, 2, 3 and y = 1, 2, 3.


b)

the table for different values of x and y can be presented as follows:

X/Y 1 2 3
1    1/84    1/42    1/28
2    1/21    2/21    1/7
3    3/28    3/14    9/28

The formula used in excel to calculate it as follows

The marginal mass function of X will sum of each row and marginal mass function of Y will sum of each columns using the following definition

The marginal distribution of X which is a discrete random variable taking values from the set {1, 2, 3} is defined as

The marginal distribution of Y which is a discrete random variable taking values from the set {1, 2, 3} is defined as

we get the marginal distribution as follows

X/Y 1 2 3 p(X)
1    1/84    1/42    1/28    1/14
2    1/21    2/21    1/7    2/7
3    3/28    3/14    9/28    9/14
p(Y)    1/6    1/3    1/2

to check the independence of X and Y, we multiply p(X) and p(y),

X or Y p(X) p(Y)
1    1/14    1/6
2    2/7    1/3
3    9/14    1/2

we get for all combinations of X and Y

X Y p(x)*p(y) p(x,y)
1 1    1/84    1/84
1 2    1/42    1/42
1 3    1/28    1/28
2 1    1/21    1/21
2 2    2/21    2/21
2 3    1/7    1/7
3 1    3/28    3/28
3 2    3/14    3/14
3 3    9/28    9/28

Since p(x)*p(y) =p(x,y) for all values of X and Y, thus X and Y are independent.

c)

p(x,y) = 1/14 if x is an integer between 0 and 3 (inclusive) and y is an integer between x and 4 (inclusive).Since p(x)*p(y) is not equal to p(x,y) for all values of x and Y, thus X and Y are not independent.

Thus for,

x = 0, y = [0,4]

x = 1, y = [1,4]

x = 2, y = [2,4]

x = 3, y = [3,4]

hence we get the table as follows

X/Y 0 1 2 3 4
0    1/14    1/14    1/14    1/14    1/14
1 0           1/14    1/14    1/14    1/14
2 0        0           1/14    1/14    1/14
3 0        0        0           1/14    1/14

The marginal mass function of X will sum of each row and marginal mass function of Y will sum of each columns using the following definition

The marginal distribution of X which is a discrete random variable taking values from the set {0,1, 2, 3} is defined as

The marginal distribution of Y which is a discrete random variable taking values from the set {0,1, 2, 3,4} is defined as

we get the marginal distribution as follows:

X/Y 0 1 2 3 4 p(X)
0    1/14    1/14    1/14    1/14    1/14    5/14
1 0           1/14    1/14    1/14    1/14    2/7
2 0        0           1/14    1/14    1/14    3/14
3 0        0        0           1/14    1/14    1/7
p(Y)    1/14    1/7    3/14    2/7    2/7
p(X) p(Y)
0           5/14    1/14
1           2/7    1/7
2           3/14    3/14
3           1/7    2/7
4           2/7

to check the independence of X and Y, we multiply p(X) and p(y) for all combinations of X and Y, we get

X Y p(X)p(y) p(x,y)
0 0    5/196    1/14
0 1    5/98    1/14
0 2 15/196    1/14
0 3    5/49    1/14
0 4    5/49    1/14
1 0    1/49 0       
1 1    2/49    1/14
1 2    3/49    1/14
1 3    4/49    1/14
1 4    4/49    1/14
2 0    3/196 0       
2 1    3/98 0       
2 2    9/196    1/14
2 3    3/49    1/14
2 4    3/49    1/14
3 0    1/98 0       
3 1    1/49 0       
3 2    3/98 0       
3 3    2/49    1/14
3 4    2/49    1/14

Since p(x)*p(y) is not equal to p(x,y) thus X and Y are not independent

Please like the solution if it helps you. Thank you

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Which of the following functions are probability mass functions? For those that are not, find (if...
Which of the following functions are probability mass functions? For those that are not, find (if possible) a constant a so that a · p(ω) is a probability mass function. a. p(ω) = ω 2 55 , ω = 1, 2, 3, 4, 5 b. p(ω) = 1 3 2 3 ω , ω = 3, 4, 5, 6, . . . c. p(ω) = 1 for each ω in a nine-member set Ω. d. p(ω) = 1 for each...
Let X and Y be continuous random variables with joint density function f(x,y) and marginal density...
Let X and Y be continuous random variables with joint density function f(x,y) and marginal density functions fX(x) and fY(y) respectively. Further, the support for both of these marginal density functions is the interval (0,1). Which of the following statements is always true? (Note there may be more than one)    E[X^2Y^3]=(∫0 TO 1 x^2 dx)(∫0 TO 1 y^3dy)    E[X^2Y^3]=∫0 TO 1∫0 TO 1x^2y^3 f(x,y) dy dx    E[Y^3]=∫0 TO 1 y^3 fX(x) dx   E[XY]=(∫0 TO 1 x fX(x)...
The joint probability distribution of two random variables X and Y is given in the following...
The joint probability distribution of two random variables X and Y is given in the following table X Y → ↓ 0 1 2 3 f(x) 2 1/12 1/12 1/12 1/12 3 1/12 1/6 1/12 0 4 1/12 1/12 0 1/6 f(y) a) Find the marginal density of X and the marginal density of Y. (add them to the above table) b) Are X and Y independent? c) Compute the P{Y>1| X>2} d) Compute the expected value of X. e)...
Find the joint discrete random variable x and y,their joint probability mass function is given by...
Find the joint discrete random variable x and y,their joint probability mass function is given by Px,y(x,y)={k(x+y) x=-2,0,+2,y=-1,0,+1 0 Otherwise } 2.1 determine the value of constant k,such that this will be proper pmf? 2.2 find the marginal pmf’s,Px(x) and Py(y)? 2.3 obtain the expected values of random variables X and Y? 2.4 calculate the variances of X and Y?
Find the joint discrete random variable x and y,their joint probability mass function is given by...
Find the joint discrete random variable x and y,their joint probability mass function is given by Px,y(x,y)={k(x+y);x=-2,0,+2,y=-1,0,+1 K>0    0 Otherwise }    2.1 determine the value of constant k,such that this will be proper pmf? 2.2 find the marginal pmf’s,Px(x) and Py(y)? 2.3 obtain the expected values of random variables X and Y? 2.4 calculate the variances of X and Y? Hint:££Px,y(x,y)=1,Px(x)=£Px,y(x,y);Py(y)=£Px,y(. x,y);E[]=£xpx(x);
If the joint probability distribution of X and Y is given by: f (x, y) =...
If the joint probability distribution of X and Y is given by: f (x, y) = 3k (x + y), for x = 0, 1, 2, 3; y = 0, 1, 2. a) .- Find the constant k. b) .- Using the table of the joint distribution and the marginal distributions, determine if variable X and variable Y are independent.
3. Let X and Y have the joint p.d.f. f(x,y)=2(x+y), 0<x<y<1. Find the marginal p.d.f. of...
3. Let X and Y have the joint p.d.f. f(x,y)=2(x+y), 0<x<y<1. Find the marginal p.d.f. of X and the marginal p.d.f. of Y. Determine whether Xand Y are independent.
Consider two random variable X and Y with joint PMF given in the table below. Y...
Consider two random variable X and Y with joint PMF given in the table below. Y = 2 Y = 4 Y = 5 X = 1 k/3 k/6 k/6 X = 2 2k/3 k/3 k/2 X = 3 k k/2 k/3 a) Find the value of k so that this is a valid PMF. Show your work. b) Re-write the table with the joint probabilities using the value of k that you found in (a). c) Find the marginal...
Determine which of the following equations are well defined functions with an independent variable x. Explain....
Determine which of the following equations are well defined functions with an independent variable x. Explain. A. 2y / x^2 - 3|x| = 1 B. Y^2 + x^2 = 10
2. The joint probability density function of X and Y is given by                               &nbsp
2. The joint probability density function of X and Y is given by                                                  f(x,y) = (6/7)(x² + xy/2), 0 < x < 1, 0 < y < 2.     f(x,y) =0 otherwise a) Compute the marginal densities of X and Y. b) Are X and Y independent. c) Compute the   conditional density function f(y|x) and check restrictions on function you derived d) probability P{X+Y<1}