# Worked solutions - Quiz 6¶

This page contains sketch notes to some of the quiz questions from Quiz 6. It is not comprehensive. We have tried to include most of the questions where it may not be obvious how to get to the correct answer.

## Question 2¶

This is an application of the theorem of total probability, noting that the three smoking groups (former, current, never) partition the sample space. The required probability can also be obtained by calculating the probability of going down all the relevant paths (the ones that lead to an “Asthma” box) in the probability tree, multiplying along the paths to get the probability of each path, and summing the probabilities of the relevant paths (Figure below),

## Question 3¶

The Figure below displays the data in a probability tree. The tree is not necessary here, but can help understand what the different numbers represent.

This is an application of Bayes’ theorem - we wish to reverse the order of conditioning.