Skip to main content

Conditional Probability

Conditional probability is calculating the probability of an event given that another event has already occured .

The formula for conditional probability P(A|B), read as P(A given B) is

P(A|B) = P (A and B) / P(B)

Consider the following example:

Example

In a class, 40% of the students study math and science. 60% of the students study math. What is the probability of a student studying science given he/she is already studying math?

Solution

P(M and S) = 0.40

P(M) = 0.60

P(S|M) = P(M and S)/P(S) = 0.40/0.60 = 2/3 = 0.67