Conditional probability

First taught in High school statistics

Definition

Conditional probability is the probability that an event happens given that another event has already happened. It is written .

Likes catsNoTotalHas a pet181230No pet61420Total242650
Of the 30 students with a pet, 18 like cats, so P(likes cats | has a pet) = 18/30.
Advertisement

Knowing that happened shrinks the set of outcomes you look at to just the outcomes in .

Example: Use the two-way table above. Choose a student who has a pet. What is the probability they like cats?

Compare this with for all students.

If , then knowing changes nothing, and the events are independent.

Advertisement