P(A) = 0.6
P(B) = 0.3
P(C) = 0.1
P(X | A) = 0.4
P( X | B) = 0.5
P(X | C ) = 0.7
P(X) = P(X | A) P(A) + P(X | B) P(B) + P(X | C) P(C) = 0.46
P(X | A) P(A) = P(A | X) * P(X) ->
P(A | X) = P(X | A) P(A) / P(X)
P(B | X) = P(X | B) P(B) / P(X)
P(C | X) = P(X | C) P(C) / P(X)
P(A | X) = 0.521
P(B | X) = 0.326
P(C | X) = 0.152
Answer: P(A | X) = 0.521, P(B | X) = 0.326, P(C | X) = 0.152.
Comments
Leave a comment