I am trying to understand how you marginalise a joint distribution.
In my case I have a fair coin, $P(C) = \frac12$ and a fair dice $P(D) = \frac16$. I am told I win a prize if I flip the coin and it lands on Tails and if the outcome of the dice $= 1$. I am told at least one of them is correct.
$$Q = (\text{Coin = Tails or Dice} = 1)$$
$$W = (\text{Coin = Tails and Dice} = 1)$$
So if I wanted to work out the probability $W =$ True $| Q =$ True I can use marginalisation to work this out given the joint distribution:
$$P(C), P(D), P(Q|C,D), P(W|C,D)$$
I am just not sure where to start any help would be really appreciated. I am pretty new to this.
Thanks in advance.