CH 4
CH 4
(4.1)
(4.2)
(4.3)
Example 4.1
A Web distributes instructional videos on bicycle repair. The
length of a video is a RV in min. with PMF:
Suppose the Web has two servers, one for videos shorter
than 5 min. and the other for videos with at least 5 min. What
is the PMF of video length in the second server?
Page 4 Semester B 2023-2024
Let be the event when the second server is chosen, which
corresponds to . Hence we have:
According to (4.1),
Example 4.2
Consider a pointer-spinning experiment such that the pointer
will stop at a point with uniform distribution on the
circumference whose length is 1. Find the conditional PDF of
the pointer position for spins in which the pointer stops on
the left side of the circle.
Page 5 Semester B 2023-2024
Let RV be the pointer position. It is clear that
with PDF .
Denote as the event when the pointer stops on the left side
of the circle. Without loss of generality, we may assume that
corresponds to . Hence we have:
Example 4.3
Suppose the time in integer minutes you wait for a bus is a
discrete RV with PMF:
Suppose the bus has not arrived by the 8th minute. What is
the conditional PMF of your waiting time ?
(4.4)
(4.5)
(4.6)
Example 4.6
Compute of the geometric RV with parameter using
conditional expectation.
(4.9)
(4.10)
Example 4.7
Find the conditional expected value and conditional variance
for the video length in the second server in Example 4.1.
(min.)
(min. )
(min. )
Page 14 Semester B 2023-2024
Conditional Joint Distributions given Event
For RVs and , and an event , the conditional joint
PMF/PDF of and given is:
(4.11)
(4.12)
(4.13)
Similarly,
Example 4.9
Suppose two RVs and have joint PDF:
(4.14)
(4.15)
Page 20 Semester B 2023-2024
From (4.14) and (4.15), we have:
(4.16)
(4.17)
Or more generally:
(4.19)
(4.21)
(4.22)
(4.23)
(4.24)
(4.25)
Page 22 Semester B 2023-2024
Note that conditioning for continuous RVs is treated in a
similar manner, e.g.,
Example 4.10
Given the joint PDF of two RVs and :
Hence:
for .
(4.26)
Example 4.12
Apply iterated expectation to find in Example 4.11.
because
Example 4.13
Consider tossing a coin twice and the probability that the
outcome is head (H) is . Let and be the number of H,
either 0 or 1, in the first and second trials. Assign
and . Find , and .