Professional Documents
Culture Documents
Exam-Like Questions
If X and Y are independent, then cov(X,Y ) = 0, which gives V (Z) = 68. So (a) is true.
From the above, V (Z) > 68 if and only if cov(X,Y ) < 0. So (c) is true, but (b) is not.
2. The answer is 13/21.
The marginal probability density function of X is given by
1
y2
Z 1
1
fX (x) = (x + y) dy = xy + = x+ , 0 ≤ x ≤ 1.
0 2 y=0 2
To compute E(Y |X = 0.2), we need to obtain fY |X (y|0.2) first.
It is clear that fY |X (y|0.2) = 0 for y ∈
/ [0, 1]. For 0 ≤ y ≤ 1,
f (0.2, y) 0.2 + y 2 + 10y
fY |X (y|x = 0.2) = = = .
fX (0.2) 0.2 + 0.5 7
Therefore 1
10y3
Z 1
2 + 10y 12 13
E(Y |X = 0.2) = y dy = y +
7 = 21 .
0 7 3 0
1
(b) is correct. P(X ≥ x;Y ≤ y) = P(X ≥ x)P(Y ≤ y) = (1 − FX (x−))FY (y).
(c) is correct. Note that X 2 − E(X 2 ) and g(Y ) are independent; thus
E (X 2 − E(X 2 ))g(Y ) = E X 2 − E(X 2 ) E(g(Y )) = (E(X 2 ) − E(X 2 ))E(g(Y )) = 0.
x
f (x, y) 2 4 fY (y)
1 0.10 0.15 0.25
y 3 0.20 0.30 0.50
5 0.10 0.15 0.25
fX (x) 0.40 0.60 1
y 1 3 5
fY |X (y|2) 0.10/0.40 = 1/4 0.20/0.40 = 2/4 0.10/0.40 = 1/4
x 2 4
fX|Y (x|3) 0.20/0.50 = 2/5 0.30/0.50 = 3/5
(d) E(X) = 3.2 and E(Y ) = 3; therefore E(2X − 3Y ) = 2E(X) − 3E(Y ) = 2(3.2) − 3(3) = −2.6.
(e) E(XY ) = (2)(1)(0.10)+(2)(3)(0.20)+(2)(5)(0.10)+(4)(1)(0.15)+(4)(3)(0.30)+(4)(5)(0.15) =
9.6.
Alternatively, since X and Y are independent, we have
(f) E(X 2 ) = 22 (0.4) + 42 (0.6) = 11.2; thus V (X) = E(X 2 ) − [E(X)]2 = 11.2 − (3.2)2 = 0.96.
E(Y 2 ) = 12 (0.25) + 32 (0.5) + 52 (0.25) = 11; thus V (Y ) = E(Y 2 ) − [E(Y )]2 = 11 − 32 = 2.
2
2. The marginal distributions for X and Y are
1
y3
Z 1
3 3 2 3 2 1
fX (x) = (x2 + y2 ) dy =
x y+ = x + , for 0 ≤ x ≤ 1;
0 2 2 3 y=0 2 3
1
3 x3
Z 1
3 2 2 2 3 1 2
fY (y) = (x + y ) dx = + xy = +y , for 0 ≤ y ≤ 1.
0 2 2 3 x=0 2 3
The joint probability density function is symmetrical in x and y: that is, f (x, y) = f (y, x). So
(c)
Z 1Z 1 Z 1Z 1
2 2
E(XY ) = 3
2 xy(x + y ) dx dy = (x3 y + xy3 ) dx dy
3
2
0 0 0 0
Z 1 4 1
x y x2 y3 y y3
Z 1
3 3
=2 + dy = 2 + dy
0 4 2 x=0 0 4 2
2 1
3 y y4
=2 + = 3.
8 8 0 8
3. Let X ∼ Bin(20, 0.3) be the number of pipework failures caused by operator error out of 20
pipework failures. We can use a calculator,
• Radiant — https://vnijs.shinyapps.io/radiant/; or
• Snippets — https://rdrr.io/snippets/
3
4. Let X ∼ Bin(10000, 0.001) be the number of forms with error amongst the 10,000. As n is large
and p is small, we can use the Poisson approximation to get X ≈ Poisson(λ = np = 10).
5. Let X be the number of children born until they have two sons. Then X ∼ NB(k = 2, p = 0.5).