At a certain university, 20% of students only major in literature, 15% of students only major in history, and 8% of students major in both literature and history. The literature-only majors spend a semester abroad with probability 0.32, the history-only majors spend a semester abroad with probability 0.49, and the literature-history double-majors study abroad with probability 0.93. Students of other majors study abroad with probability 0.04. If a student from this university spends a semester studying abroad, what is the probability he or she is a double-major in literature and history?
This is what I have so far:
Let the event that a student goes abroad be = A,
for student major in literature = Sl; history = S2, and literature-history double-majors = S12 and others = So
Probabilty for other major student will be => So=1- 0.2 - 0.15 - 0.08 = 0.57
Hence, probabilty of going abroad P(A)=P(Sl) * P(A|Sl) + P(S2) * P(A|S2)P(S12) * P(A|S12) + P(So)*P(A|S1o)
= 0.2 * 0.32 + 0.15 * 0.49 + 0.08 * 0.93 + 0.57 * 0.04 = 0.2347
Hence, the probabilty that a student is a double-major in literature and history, given that he goes abroad =P(S12|A) = P(S12)*P(A|S12)/P(A)
= 0.08 * 0.93/ 0.2347 = 0.31