Question

Consider the observations jointly taken on the binary random variables X and Y given in the...

Consider the observations jointly taken on the binary random variables X and Y given in the “Problem 1” worksheet in the Excel spreadsheet titled “Sheet 1”.

1. Organize the data in a two-way table by counting the number of observations that fall within each of the following cells: {X = 0, Y = 0}, {X = 0, Y = 1}, {X = 1, Y = 0}, and {X = 1, Y = 1}.

2. Use observed cell counts found in part 1 to estimate the joint probabilities for (X = x, Y = y)

3. Find the marginal probabilities of X = x and Y = y

4. Find P(Y = 1|X = 1) and P(Y = 1|X = 0)

5. Find P(X = 1 ∪ Y = 1)

6. Use the estimated marginal probabilities found in part 3 above to compute E(X), E(Y ), V ar(X), and V ar(Y ). Do these agree (at least approximately) with the sample average and sample variance of X and Y?

7. Use the estimated joint probabilities found in part 2 above to compute Cov(X, Y ).

8. Are X and Y independent? Explain.

Sheet 1:

Observation X Y
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 0 0
18 0 0
19 0 0
20 0 0
21 0 0
22 0 0
23 0 0
24 0 1
25 1 0
26 0 0
27 0 0
28 0 0
29 0 0
30 0 0
31 0 0
32 0 0
33 0 0
34 0 0
35 0 1
36 1 0
37 0 1
38 1 1
39 1 1
40 1 0
41 0 0
42 0 0
43 0 0
44 0 1
45 1 1
46 1 1
47 1 1
48 1 1
49 1 0
50 0 0

Homework Answers

Answer #1

If we converge the data in the matrix form we will have the follwoing table:

X/Y Y=0 Y=1
X =0 36 4
X =1 3 7

Now based on this table,

Answer 1:

{X =0,Y =0} = 36

{X =0,Y =1} = 4

{X =1,Y =0} = 3

{X =1,Y =1} = 7

Answer 2:

So out of 50 observaiton we have following scenario where X=x and Y =y

{X =0,Y =0} = 36 /50 = 0.72

{X =0,Y =1} = 4/50 = 0.08

{X =1,Y =0} = 3/50 = 0.06

{X =1,Y =1} = 7/50 = 0.14

Answer 3:

So marginal probailtiy of

X = 0 = (36+4)/50 = 0.8

X = 1 = (3+7)/50 = 0.2

Y= 0 = (36+3)/50 = 0.78

Y= 1 = (7+4)/50 = 0.22

Answer 4:

P(Y =1|X =1) = P(Y =1,X = 1)/P(X = 1)

= 0.14/0.2

P(Y =1|X =1) = 0.7

P(Y =1|X =0) = P(Y =1,X =0)/P(X =0)

=0.08/0.8

P(Y =1|X =0)  = 0.1

Answer 5:

P(X =1 U Y = 1) = P(X = 1) +P(Y =1) -P(X =1Y = 1)

= 0.2+0.22-0.14

P(X =1 U Y = 1) = 0.28

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
GIVEN INFORMATION {X=0, Y=0} = 36 {X=0, Y=1} = 4 {X=1, Y=0} = 4 {X=1, Y=1}...
GIVEN INFORMATION {X=0, Y=0} = 36 {X=0, Y=1} = 4 {X=1, Y=0} = 4 {X=1, Y=1} = 6 1. Use observed cell counts found in the given information to estimate the joint probabilities for (X = x, Y = y) 2. Find the marginal probabilities of X = x and Y = y 3. Find P (Y = 1|X = 1) and P (Y = 1|X = 0) 4. Find P (X = 1 ∪ Y = 1) 5. Use...
Calculate the quantity of interest please. a) Let X,Y be jointly continuous random variables generated as...
Calculate the quantity of interest please. a) Let X,Y be jointly continuous random variables generated as follows: Select X = x as a uniform random variable on [0,1]. Then, select Y as a Gaussian random variable with mean x and variance 1. Compute E[Y ]. b) Let X,Y be jointly Gaussian, with mean E[X] = E[Y ] = 0, variances V ar[X] = 1,V ar[Y ] = 1 and covariance Cov[X,Y ] = 0.4. Compute E[(X + 2Y )2].
Suppose that X and Y are two jointly continuous random variables with joint PDF ??,(?, ?)...
Suppose that X and Y are two jointly continuous random variables with joint PDF ??,(?, ?) = ??                     ??? 0 ≤ ? ≤ 1 ??? 0 ≤ ? ≤ √?                     0                        ??ℎ?????? Compute and plot ??(?) and ??(?) Are X and Y independent? Compute and plot ??(?) and ???(?) Compute E(X), Var(X), E(Y), Var(Y), Cov(X,Y), and Cor.(X,Y)
Suppose that the joint probability density function of the random variables X and Y is f(x,...
Suppose that the joint probability density function of the random variables X and Y is f(x, y) = 8 >< >: x + cy^2 0 ≤ x ≤ 1, 0 ≤ y ≤ 1 0 otherwise. (a) Sketch the region of non-zero probability density and show that c = 3/ 2 . (b) Find P(X + Y < 1), P(X + Y = 1) and P(X + Y > 1). (c) Compute the marginal density function of X and Y...
Suppose that X and Y are continuous and jointly distributed by f(x, y) = c(x +...
Suppose that X and Y are continuous and jointly distributed by f(x, y) = c(x + y)2 on the triangular region defined by 0 ≤ y ≤ x ≤ 1. a. Find c so that we have a joint pdf. b. Find the marginal for X c. Find the marginal for Y. d. Find E[X] and V[X]. e. Find E[Y] and V[Y]. f. Find E[XY] g. Find cov(X, Y). h. Find the correlation coefficient for the two variables. i. Prove...
X and Y are jointly continuous with joint pdf f(x, y) = 2, x > 0,...
X and Y are jointly continuous with joint pdf f(x, y) = 2, x > 0, y > 0, x + y ≤ 1 and 0 otherwise. a) Find marginal pdf’s of X and of Y. b) Find covariance Cov(X,Y). c) Find correlation Corr(X,Y). What you can say about the relationship between X and Y?
Let continuous random variables X, Y be jointly continuous, with the following joint distribution fXY​(x,y) =...
Let continuous random variables X, Y be jointly continuous, with the following joint distribution fXY​(x,y) = e-x-y ​for x≥0, y≥0 and fXY(x,y) = 0 otherwise​. 1) Sketch the area where fXY​(x,y) is non-zero on x-y plane. 2) Compute the conditional PDF of Y given X=x for each nonnegative x. 3) Use the results above to compute E(Y∣X=x) for each nonnegative x. 4) Use total expectation formula E(E(Y∣X))=E(Y) to find expected value of Y.
Let X and Y be continuous random variables with joint distribution function F(x, y), and let...
Let X and Y be continuous random variables with joint distribution function F(x, y), and let g(X, Y ) and h(X, Y ) be functions of X and Y . Prove the following: (a) E[cg(X, Y )] = cE[g(X, Y )]. (b) E[g(X, Y ) + h(X, Y )] = E[g(X, Y )] + E[h(X, Y )]. (c) V ar(a + X) = V ar(X). (d) V ar(aX) = a 2V ar(X). (e) V ar(aX + bY ) = a...
a) The joint probability density function of the random variables X, Y is given as f(x,y)...
a) The joint probability density function of the random variables X, Y is given as f(x,y) = 8xy    if  0≤y≤x≤1 , and 0 elsewhere. Find the marginal probability density functions. b) Find the expected values EX and EY for the density function above c) find Cov  X,Y .
The probability distribution of a couple of random variables (X, Y) is given by : X/Y...
The probability distribution of a couple of random variables (X, Y) is given by : X/Y 0 1 2 -1 a 2a a 0 0 a a 1 3a 0 a 1) Find "a" 2) Find the marginal distribution of X and Y 3) Are variables X and Y independent? 4) Calculate V(2X+3Y) and Cov(2X,5Y)
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT