Week3_GA_Solution_2
Week3_GA_Solution_2
Y \X −1 0
1
−1 k 6
1 1
0 6 3
1
1 k 6
Answer : 0
Explanation:
We are given the joint probability mass function (PMF) of two discrete
random variables X and Y :
Y \X −1 0
1
−1 k 6
1 1
0 6 3
1
1 k 6
P (X, Y ) = 1
1
1
Step 2: Build the Table with k Now, substituting k = 12 into the original
table:
Y \X −1 0
1 1
−1 12 6
1 1
0 6 3
1 1
1 12 6
1
E[X] = −
3
—
Step 4: Compute E[Y ] X
E[Y ] = yP (Y = y)
y
1 1
E[Y ] = − + = 0
4 4
—
Step 5: Compute E[XY ]
XX
E[XY ] = xyP (X = x, Y = y)
x y
1 1 1
+(0)(−1) · + (0)(0) · + (0)(1) ·
6 3 6
2
1 1
= +0− + (0 + 0 + 0) + (0 + 0 + 0) = 0
12 12
Thus, E[XY ] = 0.
Step 6: The covariance formula is:
Cov(X, Y ) = 0
Explanation:
Step 1: Define the New Random Variable U = X + Y We need to find the
probability mass function (PMF) of U = X + Y . To do this, we compute the
possible values of U and their corresponding probabilities by summing X and
Y for each joint probability.
Possible Values of U Since X takes values {−1, 0} and Y takes values
{−1, 0, 1}, the possible values of U = X + Y are:
U ∈ {−2, −1, 0, 1}
3
1 1 2 1
= + = =
6 6 6 3
- P (U = 0) - U = 0 occurs when
(X, Y ) = (−1, 1), (X, Y ) = (0, 0), (X, Y ) = (1, −1) - Probability:
P (U = 0) = P (X = −1, Y = 1) + P (X = 0, Y = 0) + P (X = 1, Y = −1)
1 1 1 4 5
= + +0= + =
12 3 12 12 12
- P (U = 1) - U = 1 occurs when (X, Y ) = (0, 1) or (X, Y ) = (1, 0) -
Probability:
P (U = 1) = P (X = 0, Y = 1) + P (X = 1, Y = 0)
1 1
= +0=
6 6
—
Step 3: Construct the PMF Table for U
U P (U )
1
−2 12
1
−1 3
5
0 12
1
1 6
X Y U =X +Y P (X, Y )
1
−1 −1 −2 12
1
0 −1 −1 6
1
−1 0 −1 6
1
0 0 0 3
1
−1 1 0 12
1
0 1 1 6
4
We compute the covariance between X and U by first finding the expectation
of the product of X and U , then subtracting the product of the means. In
formula form,
1
F or(X = −1, U = 0) = (−1)(0) × = 0.
12
- For (0, 1) with U = 1 and probability 61 :
1
F or(X = 0, U = 1) = 0 × 1 × = 0.
6
Summing these up, we get
1 1 2 1
E[XU ] = + = = .
6 6 6 3
Next, substitute into the covariance formula:
1 1 1 1 1 3 1 2
Cov(X, U ) = − − − = − = − = .
3 3 3 3 9 9 9 9
Numerically,
2
≈ 0.22.
9
2. Let X be a random variable with mean µ = 10 and standard deviation
σ = 8. Let Z be the centralized and normalized version of X. Which of the
following statement(s) is(are) true?
5
(a) E[Z] = 0
(b) V ar(Z) = 1
(c) Using Markov’s inequality, P (Z ≥ 2) ≤ 0.25
(d) Using Markov’s inequality, P (X ≥ 64) ≤ 0.16
(e) P (Z > 2) = 0.25
Answer : a,b,d
Explanation:
6
Final Correct Answers: (a), (b), (d)