Probability of $B$ Given That $A$ Has Occurred
Our estimation of the likelihood of an event can change if we know that some other event has occurred. For example, the probability that a rolled die shows a
The conditional probability
When
Example
Suppose that a coin is flipped 3 times giving the sample space:
Each individual outcome has probability
Independence
The conditional probability
Bayes' Theorem
In probability theory and statistics, Bayes' theorem (alternatively Bayes' law or Bayes' rule) is a result that is of importance in the mathematical manipulation of conditional probabilities. It can be derived from the basic axioms of probability.
Mathematically, Bayes' theorem gives the relationship between the probabilities of
This may be easier to remember in this alternate symmetric form:
Example:
Suppose someone told you they had a nice conversation with someone on the train. Not knowing anything else about this conversation, the probability that they were speaking to a woman is
To see how this is done, let
Suppose it is also known that
Our goal is to calculate the probability that the conversation was held with a woman, given the fact that the person had long hair, or, in our notation,