Exercise R.4.4
Joint pmf: marginals, conditional and independence
Consider the discrete random variables \(X\) and \(Y\) that take values 0 and 1 with a joint pmf:
| Y=0 | Y=1 | |
|---|---|---|
| X=0 | 0.25 | 0.4 |
| X=1 | 0.3 | 0.05 |
Find the marginals \(\mathbb{P}(X), \mathbb{P}(Y)\), the probability \(\mathbb{P}(X=1, Y=0)\), the conditional probability \(\mathbb{P}(X=1 \mid Y=0)\) and decide whether \(X\) and \(Y\) are independent.