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 ?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
A negative covariance between taking the stairs and the elevatorCovariance of rain and a food truck selling outCovariance of two plus-or-minus-one signalsA joint table where the covariance turns out to be zeroVariance of the number of adjacent head-head pairs
All questions →