Question

In: Statistics and Probability

Provide an example that if the cov(X,Y) = 0, the two random variables, X and Y,...

Provide an example that if the cov(X,Y) = 0, the two random variables, X and Y, are not necessarily independent.

Would you please give the example specifically and why?

Solutions

Expert Solution

Let X take on the values 0 and 1, and P[X=-1]=P[X=1]=1/2
I will choose a random variable Y so that the distribution of Y itself is dependent.

Let Y take the values -1,0 and 1. However, I will tweak the probabilities in the following way.

P[Y=-1|X=-1]=P[Y=1|X=-1]=1/2

P[Y=0|X=1]=1

I constructed the distribution of Y to dependent on X.

Now let's calculate E[XY]. The possible values of XY are either -1,0 or -1

When XY=1, both X=Y=1 or X=Y=-1. If X=1, Y=0, since P[Y=0|X=1]=1, so we discard the possibility X=Y=1

P[Y=-1|X=-1]=P[X=-1,Y=-1]/P[X=-1]=1/2

Therefore, P[X=-1,Y=-1]=1/2 X 1/2=1/4

When XY=0, we must have that either one of X or Y is 0 or both are 0. The possibilities are (X=-1,Y=0), (X=1,Y=0)

But Y=0 only when X=1. So, P[XY=0]=P[X=1,Y=0]=P[Y=0|X=1] X P[X=1]=1 X 1/2= 1/2

When XY=-1, X=-1, andY=1, or X=1, and Y=-1. But X=1 and Y=-1 is not possible since P[Y=0|X=1]=1

P[Y=-1|X=-1]=P[X=-1,Y=-1]/P[X=-1]=1/2

Therefore, P[X=-1,Y=-1]=1/2X 1/2=1/4

In summary, P[XY=1]=1/4, P[XY=0]=1/2, P[XY=-1]=1/4

Thus, E[XY]=1 x 1/4 + 0 X 1/2 + (-1) X1/4=0

E[X]=1 X 1/2 + (-1) X 1/2=0

At this point we don't even need to calculate E[Y], because E[X]E[Y]=0 anyway since E[X]=0.

Therefore Cov(X,Y)=E[XY]-E[X]E[Y]=0

But, X and Y are not independent. Why?

Consider P[X=1|Y=1]. If they are independent this should equal P[X=1]=1/2.

But,

But, from how we defined Y, P[Y=0|X=1]=1, so this readily implies that P[Y=1|X=1]=0

Thus, P[X=1|Y=1]=0 and this doesn't equal P[X=1]. Hence, X and Y are not independent.


Related Solutions

Provide an example that if the cov(X,Y) = 0, the two random variables, X and Y,...
Provide an example that if the cov(X,Y) = 0, the two random variables, X and Y, are not necessarily independent. Would you please give the example specifically and why?
Define a joint distribution for two random variables (X,Y) such that (i) Cov(X,Y)=0 and (ii) E[Y...
Define a joint distribution for two random variables (X,Y) such that (i) Cov(X,Y)=0 and (ii) E[Y I X] is not equal to E[Y]. How do I define a joint distribution that satisfies both (i) and (ii) above at the same time? Please give me an example and explanation of how it meets the two conditions.
This is the probability distribution between two random variables X and Y: Y \ X 0...
This is the probability distribution between two random variables X and Y: Y \ X 0 1 2 3 0.1 0.2 0.2 4 0.2 0.2 0.1 a) Are those variables independent? b) What is the marginal probability of X? c) Find E[XY]
Let X and Y be random variables. Suppose P(X = 0, Y = 0) = .1,...
Let X and Y be random variables. Suppose P(X = 0, Y = 0) = .1, P(X = 1, Y = 0) = .3, P(X = 2, Y = 0) = .2 P(X = 0, Y = 1) = .2, P(X = 1, Y = 1) = .2, P(X = 2, Y = 1) = 0. a. Determine E(X) and E(Y ). b. Find Cov(X, Y ) c. Find Cov(2X + 3Y, Y ).
Let X and Y be uniform random variables on [0, 1]. If X and Y are...
Let X and Y be uniform random variables on [0, 1]. If X and Y are independent, find the probability distribution function of X + Y
If Var(X) = 1, Var(Y) = 2 and Cov(X,Y) = 0, what is Cov(X-2Y, Y-X2)?
If Var(X) = 1, Var(Y) = 2 and Cov(X,Y) = 0, what is Cov(X-2Y, Y-X2)?
In this problem there are two random variables X and Y. The random variable Y counts...
In this problem there are two random variables X and Y. The random variable Y counts how many times we roll the die in the following experiment: First, we flip a fair coin. If it comes Heads we set X= 1 and roll a fair die until we get a six. If it comes Tails, we set X= 0 and roll the die until we get an even number (2, 4 or 6). a). What are the possible values taken...
Let X and Y be two independent random variables such that X + Y has the...
Let X and Y be two independent random variables such that X + Y has the same density as X. What is Y?
Let X and Y be two independent random variables. X is a binomial (25,0.4) and Y...
Let X and Y be two independent random variables. X is a binomial (25,0.4) and Y is a uniform (0,6). Let W=2X-Y and Z= 2X+Y. a) Find the expected value of X, the expected value of Y, the variance of X and the variance of Y. b) Find the expected value of W. c) Find the variance of W. d) Find the covariance of Z and W. d) Find the covariance of Z and W.
X and Y are discrete random variables with joint distribution given below Y 1 Y 0...
X and Y are discrete random variables with joint distribution given below Y 1 Y 0 Y 1 X 1 0 1/4 0 X 0 1/4 1/4 1/4 (a) Determine the conditional expectation E Y|X 1 . (b) Determine the conditional expectation E X|Y y for each value of y. (c) Determine the expected value of X using conditional expectation results form part (b) above. (d) Now obatin the marginal distribution of X and verify your answers to part (c).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT