Exercise · ZW-COVARIANCE-003 · ★☆☆ Basic

Let \(X\) be uniform on \(\{0,1,2\}\) and \(Y=2X\). Compute \(\operatorname{Cov}(X,Y)\).

Choose one option.

Show answer
  • A. \(\tfrac43\)

Explanation

\(E[X]=1,\ E[Y]=2,\ E[XY]=2E[X^2]=\tfrac{10}{3}\), so \(\operatorname{Cov}=\tfrac{10}{3}-2=\tfrac43\). It is positive because \(Y\) grows with \(X\).

Study Probability and statistics in ZWMath →

Review the concept: Covariance

The covariance \(\operatorname{Cov}(X,Y)\) of two variables \(X\) and \(Y\) measures whether they tend to deviate from their expectations \(E\) in the same or opposite directions: it is the expectation of the product of their deviations.

\[\operatorname{Cov}(X,Y)=E\big[(X-E[X])(Y-E[Y])\big]\]

More practice problems: covariance

← ZW-COVARIANCE-002 ZW-COVARIANCE-004 →