Will start by making a probability table by dividing all the values by Total (580)
p(Y) | p(N) | p(D) | Total | |
p(M) | 162/580 | 75/580 | 23/580 | 260/580 |
p(W) | 256/580 | 45/580 | 19/580 | 320/580 |
Total | 418/580 | 120/580 | 42/580 | 1 |
Now the intersection of p(N) and p(W) is p(N∩ W) , which is on the chart. (The totals give us the values for p(N), p(M), p(W)...etc.)
Then the conditional probability formula is p(W|N)= p(W ∩ N)/ p(N).