Uploaded by Erik

1 Fundamentals of Probability Solutions

advertisement
Topic 1 Fundamentals of Probability (Wooldridge, Appendix B)
Tutorial Exercise 1: In mathematics, the symbol ∑ (the Greek letter “Sigma”) denotes the
summation operator, which is defined as the sum of a sequence of numbers, as follows:
π‘₯ = π‘₯ +π‘₯ +β‹―+ π‘₯ .
Show the following results are true:
(i)
∑
𝑐π‘₯ = 𝑐 ∑
(ii)
∑
𝑐 = 𝑛𝑐
(iii)
∑
(π‘₯ + 𝑦 ) = ∑
π‘₯
π‘₯ +∑
𝑦
Learning outcome: The purpose of this exercise is to practise our skills on working with the
summation operator.
Solution: We merely apply the definition of the summation operator throughout.
(i)
∑
𝑐π‘₯ = 𝑐π‘₯ + 𝑐π‘₯ + β‹― + 𝑐π‘₯ = 𝑐(π‘₯ + π‘₯ + β‹― + π‘₯ ) = 𝑐 ∑
(ii)
∑
𝑐 = 𝑐 + 𝑐 + β‹― + 𝑐 = 𝑐(1 + 1 + β‹― + 1) = 𝑐𝑛 = 𝑛𝑐.
(iii)
∑
(π‘₯ + 𝑦 ) = (π‘₯ + 𝑦 ) + (π‘₯ + 𝑦 ) + β‹― + (π‘₯ + 𝑦 )
= π‘₯ + 𝑦 +π‘₯ +𝑦 +β‹―+ π‘₯ +𝑦
= π‘₯ + π‘₯ + β‹―+ π‘₯ + 𝑦 + 𝑦 +β‹―+ 𝑦
=
π‘₯ +
𝑦.
π‘₯.
Tutorial Exercise 2: Let π‘Œ and 𝑋 be two discrete random variables. Prove the following results:
(i)
(ii)
(iii)
(iv)
(v)
(vi)
(vii)
For any constant 𝑐, 𝐸(𝑐) = 𝑐.
For any constants π‘Ž and 𝑏, 𝐸(π‘Žπ‘‹ + 𝑏) = π‘ŽπΈ(𝑋) + 𝑏.
𝐸(π‘Œ|𝑋) = 𝐸(π‘Œ) if π‘Œ and 𝑋 are independent.
For any constant 𝑐, π‘‰π‘Žπ‘Ÿ(𝑐) = 0
For any constants π‘Ž and 𝑏, 𝐸(π‘Žπ‘‹ + π‘π‘Œ) = π‘ŽπΈ(𝑋) + 𝑏𝐸(π‘Œ).
π‘‰π‘Žπ‘Ÿ(π‘Žπ‘‹ + π‘π‘Œ) = π‘Ž π‘‰π‘Žπ‘Ÿ(𝑋) + 𝑏 π‘‰π‘Žπ‘Ÿ(π‘Œ) + 2π‘Žπ‘πΆπ‘œπ‘£(𝑋, π‘Œ).
πΆπ‘œπ‘£(π‘Žπ‘‹, π‘π‘Œ) = π‘Žπ‘πΆπ‘œπ‘£(𝑋, π‘Œ).
Learning outcome: The purpose of this exercise is to deepen our understanding on the
properties of the expectation operator (expected value), the variance and the covariance.
Hint: Given a random discrete random variable 𝑋, let 𝑔(𝑋) be a new discrete random variable,
for some real-valued function 𝑔(. ). Make use of the definition of the expected value of 𝑔(𝑋),
which is given by
𝐸[𝑔(𝑋)] = 𝑔(π‘₯ )𝑓(π‘₯ ) + 𝑔(π‘₯ )𝑓(π‘₯ ) + β‹― + 𝑔(π‘₯ )𝑓(π‘₯ ) =
𝑔 π‘₯ 𝑓 π‘₯ .
Since (i) is a special case of (ii), you may complete (ii) first.
Solution: We apply the above formula repeatedly. In particular,
(i)
let 𝑔(𝑋) = 𝑐 + 𝛼𝑋 = 𝑐 + 0𝑋 = 𝑐, where 𝛼 = 0. We have
𝐸[𝑔(𝑋)] = 𝑔(π‘₯ )𝑓(π‘₯ ) + 𝑔(π‘₯ )𝑓(π‘₯ ) + β‹― + 𝑔(π‘₯ )𝑓(π‘₯ )
= (𝑐 + 𝛼π‘₯ )𝑓(π‘₯ ) + (𝑐 + 𝛼π‘₯ )𝑓(π‘₯ ) + β‹― + (𝑐 + 𝛼π‘₯ )𝑓(π‘₯ )
= (𝑐 + 0π‘₯ )𝑓(π‘₯ ) + (𝑐 + 0π‘₯ )𝑓(π‘₯ ) + β‹― + (𝑐 + 0π‘₯ )𝑓(π‘₯ )
= 𝑐𝑓(π‘₯ ) + 𝑐𝑓(π‘₯ ) + β‹― + 𝑐𝑓(π‘₯ )
= 𝑐[𝑓(π‘₯ ) + 𝑓(π‘₯ ) + β‹― + 𝑓(π‘₯ )]
=𝑐
𝑓 π‘₯
= 𝑐,
where the last equality holds because ∑ 𝑓 π‘₯
𝑃(𝑋 = π‘₯ ) + 𝑃(𝑋 = π‘₯ )+. . . +𝑃(𝑋 = π‘₯ ) = 1.
(ii)
= 𝑓(π‘₯ ) + 𝑓(π‘₯ ) + β‹― + 𝑓(π‘₯ ) =
Let 𝑔(𝑋) = π‘Žπ‘‹ + 𝑏. We have
𝐸[𝑔(𝑋)] = 𝑔(π‘₯ )𝑓(π‘₯ ) + 𝑔(π‘₯ )𝑓(π‘₯ ) + β‹― + 𝑔(π‘₯ )𝑓(π‘₯ )
= (π‘Žπ‘₯ + 𝑏)𝑓(π‘₯ ) + (π‘Žπ‘₯ + 𝑏)𝑓(π‘₯ ) + β‹― + (π‘Žπ‘₯ + 𝑏)𝑓(π‘₯ )
= π‘Žπ‘₯ 𝑓(π‘₯ ) + 𝑏𝑓(π‘₯ ) + π‘Žπ‘₯ 𝑓(π‘₯ ) + 𝑏𝑓(π‘₯ ) + β‹― + π‘Žπ‘₯ 𝑓(π‘₯ ) + 𝑏𝑓(π‘₯ )
= π‘Žπ‘₯ 𝑓(π‘₯ ) + β‹― + π‘Žπ‘₯ 𝑓(π‘₯ ) + 𝑏𝑓(π‘₯ ) + β‹― + 𝑏𝑓(π‘₯ )
=π‘Ž
π‘₯ 𝑓 π‘₯ +𝑏
𝑓 π‘₯
= π‘ŽπΈ(𝑋) + 𝑏.
(iii)
We have
𝑓
|
(𝑦|π‘₯) =
𝑓 , (π‘₯, 𝑦) 𝑓 (π‘₯)𝑓 (𝑦),
=
= 𝑓 (𝑦).
𝑓 (π‘₯)
𝑓 (π‘₯)
Where the second equality is due to the fact that π‘Œ and 𝑋 are independent. Therefore,
𝐸(π‘Œ|𝑋 = π‘₯) = 𝑦 𝑓
|
(𝑦 |π‘₯) + 𝑦 𝑓
|
(𝑦 |π‘₯) + β‹― + 𝑦 𝑓
|
(𝑦 |π‘₯)
= 𝑦 𝑓 (𝑦 ) + 𝑦 𝑓 (𝑦 ) + β‹― + 𝑦 𝑓 (𝑦 )
=
(iv)
𝑦𝑓 𝑦
= 𝐸(π‘Œ).
Let 𝑔(𝑋) = 𝑐 + 0𝑋 = 𝑐 ⇒ [𝑔(𝑋)] = 𝑐 . The variance of 𝑔(𝑋) is given by
π‘‰π‘Žπ‘Ÿ[𝑔(𝑋)] = 𝐸[𝑔(𝑋) ] − 𝐸 𝑔(𝑋)
We have already shown that 𝐸 𝑔(𝑋) = 𝑐 ⇒ 𝐸 𝑔(𝑋)
.
= 𝑐 . On the other hand,
𝐸[𝑔(𝑋) ] = [𝑔(π‘₯ )] 𝑓(π‘₯ ) + [𝑔(π‘₯ )] 𝑓(π‘₯ ) + β‹― + [𝑔(π‘₯ )] 𝑓(π‘₯ )
= 𝑐 𝑓(π‘₯ ) + 𝑐 𝑓(π‘₯ ) + β‹― + 𝑐 𝑓(π‘₯ )
=𝑐
∴ π‘‰π‘Žπ‘Ÿ(𝑐) = 𝑐 − 𝑐 = 0.
𝑓 π‘₯
=𝑐 .
(v)
Let 𝑔(𝑋, π‘Œ) = π‘Žπ‘‹ + π‘π‘Œ. We have
𝐸[𝑔(𝑋, π‘Œ)] =
π‘Žπ‘₯ + 𝑏𝑦 𝑓
,
π‘₯ ,𝑦
,
=
=π‘Ž
π‘Žπ‘₯ + 𝑏𝑦 𝑓
π‘₯
𝑓
=π‘Ž
,
π‘₯ ,𝑦 + 𝑏
π‘₯ 𝑓 (π‘₯ ) + 𝑏
π‘₯ ,𝑦
,
𝑦
𝑓
,
π‘₯ ,𝑦
𝑦𝑓 𝑦
= π‘ŽπΈ(𝑋) + 𝑏𝐸(π‘Œ),
where the second-to-last equality is due to the Law of Total Probability, which states
that ∑ 𝑓 , π‘₯ , 𝑦 = 𝑓 (π‘₯ ) and ∑ 𝑓 , π‘₯ , 𝑦 = 𝑓 (𝑦 ).
(vi)
We have
π‘‰π‘Žπ‘Ÿ(π‘Žπ‘‹ + π‘π‘Œ) = 𝐸 (π‘Žπ‘‹ + π‘π‘Œ) − 𝐸 (π‘Žπ‘‹ + π‘π‘Œ)
= 𝐸[π‘Žπ‘‹ + π‘π‘Œ − π‘ŽπΈ(𝑋) − 𝑏𝐸(π‘Œ)]
= 𝐸 π‘Ž 𝑋 − 𝐸(𝑋) + 𝑏 π‘Œ − 𝐸(π‘Œ)
= 𝐸 π‘Ž 𝑋 − 𝐸(𝑋)
=π‘Ž 𝐸
𝑋 − 𝐸(𝑋)
+ 𝑏 π‘Œ − 𝐸(π‘Œ)
+𝑏 𝐸
π‘Œ − 𝐸(π‘Œ)
+ 2π‘Žπ‘ 𝑋 − 𝐸(𝑋) π‘Œ − 𝐸(π‘Œ)
+ 2π‘Žπ‘πΈ 𝑋 − 𝐸(𝑋) π‘Œ − 𝐸(π‘Œ)
= π‘Ž π‘‰π‘Žπ‘Ÿ(𝑋) + 𝑏 π‘‰π‘Žπ‘Ÿ(π‘Œ) + 2π‘Žπ‘πΆπ‘œπ‘£(𝑋, π‘Œ),
where the second equality is due to part (v) of this exercise, whereas the fourth
equality is due to the binomial theorem, or otherwise (π‘Ž + 𝑏) = (π‘Ž + 𝑏)(π‘Ž + 𝑏) =
π‘Ž + π‘Žπ‘ + π‘π‘Ž + 𝑏 = π‘Ž + π‘Žπ‘ + π‘Žπ‘ + 𝑏 = π‘Ž + 2π‘Žπ‘ + 𝑏 .
(vii)
We have
πΆπ‘œπ‘£(π‘Žπ‘‹, π‘π‘Œ) = 𝐸 π‘Žπ‘‹ − 𝐸(π‘Žπ‘‹) π‘π‘Œ − 𝐸(π‘π‘Œ)
= 𝐸 π‘Žπ‘‹ − π‘ŽπΈ(𝑋) π‘π‘Œ − 𝑏𝐸(π‘Œ)
= 𝐸 π‘Ž 𝑋 − 𝐸(𝑋) 𝑏 π‘Œ − 𝐸(π‘Œ)
= π‘Žπ‘πΈ 𝑋 − 𝐸(𝑋) π‘Œ − 𝐸(π‘Œ)
= π‘Žπ‘πΆπ‘œπ‘£(𝑋, π‘Œ).
where the second and fourth equalities are due to part (ii) of this exercise.
Download