Covariance of buying coffee and buying a pastry
Let if a customer buys coffee (else ) and if they buy a pastry (else ). The shop's data gives the joint chances of each combination:
| 0.40 | 0.10 | |
| 0.20 | 0.30 |
What is the covariance of and ?
Let if a customer buys coffee (else ) and if they buy a pastry (else ). The shop's data gives the joint chances of each combination:
| 0.40 | 0.10 | |
| 0.20 | 0.30 |
What is the covariance of and ?