Professional Documents
Culture Documents
Probabilities:
P (E1 ) = 0.02
P (B|E1 ) = 0.98 P (B|E2 ) = 0.05
P (GH |E1 ) = 0.9 P (GH |E2 ) = 0.5
P (GR |E1 ) = 0.7 P (GR |E2 ) = 0.4
(a) Compute the join probability that, given that the date is the one, Lea feels butterflies but neither Hazel nor
Rebecca pick up a good vibe.
Because B, GH and GR are conditionally independent:
(b) Compute the join probability that, given that the date is NOT the one, Lea feels butterflies but neither Hazel
nor Rebecca pick up a good vibe.
(c) Compute the probability that the date is the one, given that Lea feels butterflies but neither Hazel nor Rebecca
pick up a good vibe. (i.e. find P (E1 |B, no GH , no GR ))
Using Bayes’ rule, this expression is
1
2. Lea is playing with two boxes: a White box and a Black box. The White box contains two fair dices (each number
1, 2,..., 6 appears with probability 1/6 in each dice). The Black box contains two dices that land with probability
1/6 in each of their sides, but, in contrast to the dices in the other box, both these dices have 3 sides with a 1 and
3 sides with a 6. Lea rolls two dice from one of the boxes, but we don’t know which box. We only know that she is
playing with the White and Black boxes with probability 2/3 and 1/3, respectively. Let A1 be the event that the
first dice she rolls is a 6:{d1 = 6}, and let A2 be the event that the second dice she rolls is a 6: {d2 = 6}.
Lea’s dice: Conditionally Independent Events
2
E1 = {“dice from White box”} P (E1 ) =
3
1
E2 = {“dice from Black box”} P (E2 ) =
3
1 1
A1 = {d1 = 6} P (A1 |E1 ) = P (A1 |E2 ) =
6 2
1 1
A2 = {d2 = 6} P (A2 |E1 ) = P (A2 |E2 ) =
6 2
(a) (Level A) What is the probability of A2 ? (Hint: you may use TTP)
(b) (Level A) What is the probability of A2 , given that we know that Lea is playing with the dice in the Black
box?
1
P (A2 |E2 ) = .
2
(c) (Level B) What is the probability of A2 , given that we know that Lea is playing with the dice in the Black box
and we also know that the first dice is a 6?
1 ∩A2 |E2 )
We find P (A
P (A1 |E2 ) , which is the probability of observing A2 , given A1 and E2 :
(a) (Level A) What is the join probability that all X1 , X2 , ..., Xn are smaller than z?
(b) (Level A) What is the join probability that X1 > z and X2 ≤ z, X3 ≤ z, ..., Xn ≤ z?
2
(c) (Level A) Similarly, what is the join probability that Xi > z and Xj < z, for all j 6= i ? Compute this for
i = 2, 3, ..., n (you already did this for i = 1 in part (b)).
(d) (Level B) Suppose that every time we run the experiment (obtaining a realisation of X1 , X2 , ..., Xn ), we choose
the second-highest among the n realisations.1 The resulting random variable, denoted by Z, is called the
second-highest order statistic of X1 , X2 , ..., Xn . Notice that the events whose probabilities you obtained in
parts (a)-(c) correspond to all the situations in which Z < z. Also all these events are disjoint, thus P(Z < z)
can be computed as the sum of such probabilities. Compute this sum to show
(e) (Level A) Take the derivative of FZ (z) with respect to z to show that the density of Z is
dFZ (z)
fZ (z) = = n(n − 1)(F (z))n−2 f (z) − n(n − 1)(F (z))(n−1) f (z)
dz
= n(n − 1)(F (z))n−2 (1 − F (z))f (z).
(f) (Level A) Compute all your final results in (a)-(e) for the specific case n = 5, the distribution F corresponds
to the uniform distribution, and z is any number in [0, 1].
i.
ii.
iii.
3
iv.
v.