Assignment3(1)
Assignment3(1)
2024-25 Term 2
Assignment #3
Problem 1 [32 points] Suppose the genotype of Amy is unknown, but the genotypes of her
four grandparents are given by the chart below:
Grandparents: BO BO BB OO
Child: Amy ??
People with genotype AA, AO will have phenotype A, genotype BB, BO will have phenotype
B, genotype AB will have phenotype AB, genotype OO will have phenotype O.
(a) [6 points] What is the probability that Amy’s phenotype is B? What is the probability
that Amy’s phenotype is O?
(b) [6 points] Given that Amy’s phenotype is B, what’s the conditional probability that
Father’s phenotype is B?
(c) [10 points] Given that Father’s phenotype is O, what’s the conditional probability
that Amy’s phenotype is O? Compared with the probability that Amy’s phenotype is
O, what conclusion can we get?
(d) [10 points] If we let the random variable 𝑋 be the total number of phenotypes O
among Father, Mother and Amy, please generate the Probability Mass Function
(PMF) and Cumulative Distribution Function (CDF) of 𝑋 and draw out the graph of
PMF and CDF.
Page 1/2
Problem 2 [10 points] [Advanced] Three prisoners Problem extension: Four prisoners, 𝐴,
𝐵, 𝐶 and 𝐷, are on death row. The governor decides to pardon one of the four and chooses
at random the prisoner to pardon. He informs the warden of his choice but requests that
the name be kept secret for a few days. The next day, 𝐵 tries to get the warden to tell him
who had been pardoned. The warden refuses. 𝐵 then asks which of 𝐴 or 𝐶 or 𝐷 will be
executed. The warden thinks for a while, then tells 𝐵 that 𝐷 is to be executed. Please
calculate the conditional probability that 𝐴 is pardoned given 𝐷 will die, and the
conditional probability that 𝐵 is pardoned given 𝐷 will die.
Problem 3 [48 points] Consider a discrete random variable X with CDF (Cumulative
Distribution Function) 𝐹(𝑥) specified below:
(a) [4 Points] Please calculate the value of Pr(2 ≤ 𝑋 < 3) and Pr(𝑋 = 3)
(b) [3 Points] Please calculate the value of Pr(𝑋 = 4) and Pr(3 ≤ 𝑋 ≤ 5)
(c) [3 Points] Please calculate the value of Pr(𝑋 = 7) and Pr(3 < 𝑋 ≤ 6)
(d) [4 Points] Please compute the population mean 𝜇 = E(𝑋).
(e) [4 Points] Please compute the population variance 𝜎 2 = 𝑉𝑎𝑟(𝑋).
(f) [4 Points] Please compute Pr(𝜇 − 𝜎 < 𝑋 ≤ 𝜇 + 𝜎).
(g) [6 Points] Please compute E[(𝑋 − 1)2 ]
(h) [8 Points] If we transform the random variable 𝑋 to 𝑌 as 𝑌 = 2𝑋 + 2, please find
the Expect value of 𝑌 and the Variance of 𝑌.
(i) [12 Points] If we transform the random variable 𝑋 to 𝑍 as 𝑍 = 𝑋 2 , please find the
Probability Mass Function (PMF) of 𝑍, the CDF (Cumulative Distribution Function) of
𝑍, and graph the CDF plot.
Problem 4 [10 points] [ADVANCED] Place 5 similar balls (either red or blue) in a bowl at
random as follows: A FAIR coin is flipped 5 independent times and a RED ball is placed in the
bowl for each head and a BLUE ball for each tail. After we placed the 5 balls in the bowl, two
balls are selected at random without replacement from the bowl.
(a) [4 points] What’s the probability that we have selected two red balls? (Hints: Use
Total Probability Rule)
(b) [6 points] If we let random variable 𝑋 be number of RED balls in the two balls we
select, please find the Probability Mass Function (PMF) of 𝑋 (Hints: we calculated
Pr (𝑋 = 2) in part(a))
-End of the Assignment-
Page 2/2