Got a basic question on the sample question Provided in Miler Chapter-3
Sample Question:
X is a random variable. X has an equal probability of being −1, 0, or +1.
What is the correlation between X and Y if Y = X2?
The above is solved using the Expected values .
My question : Why this is not solved using the normal formula for
covariance cov(xy)=Sum ((x- mean x) (y- mean y)/n
the answer would have been different in that case ?
Thanks
Sample Question:
X is a random variable. X has an equal probability of being −1, 0, or +1.
What is the correlation between X and Y if Y = X2?
The above is solved using the Expected values .
My question : Why this is not solved using the normal formula for
covariance cov(xy)=Sum ((x- mean x) (y- mean y)/n
the answer would have been different in that case ?
Thanks