Answer:
The probability that the student is a freshman is 52.32% If a randomly selected student lives in the dormitory. The right answer is d.
Step-by-step explanation:
According to the data we have the following:
p(freshman) = 0.35
p(sophomore) = 0.25
p(Junior) = 0.16
p(senior) = 0.24
Also:
p(Dormitory/freshman) = 0.8
p(Dormitory/sophomore) = 0.6
p(Dormitory/Junior) = 0.3
p(Dormitory/Senior) = 0.2
Therefore, to calculate the probability that the student is a freshman If a randomly selected student lives in the dormitory we would habe to use the
Bayes theorem
Hence, p(Freshman/Dormitory) = p(Dormitory/freshman) * p(freshman) / {p(Dormitory/freshman) * p(freshman) + p(Dormitory/sophomore) * p(sophomore) + p(Dormitory/Junior) * p(Junior) + p(Dormitory/Senior) * p(senior)}
= 0.8 * 0.35 / { 0.8*0.35 + 0.6*0.25 + 0.3*0.16 + 0.2 * 0.24}
= 0.28/0.526
= 0.532. The probability that the student is a freshman is 52.32%