Bayes rule states that P(A|B) = [P(B|A)P(A)]/P(B).
Let's suppose rain falls one day in three, and when it does a barometer shows rain with a probability of 0.7, otherwise it has a 0.1 probability of showing rain. Find the probability, that on a random day, the barometer shows "rain".
Does anyone know how to find the required probability by using Bayes Rule? Thank you in advance.
EDIT found very useful link as to what solution to use and when When to use Total Probability Rule and Bayes' Theorem.