Qm

Covariance of buying coffee and buying a pastry

Let X=1X = 1 if a customer buys coffee (else 00) and Y=1Y = 1 if they buy a pastry (else 00). The shop's data gives the joint chances of each combination:

Y=0Y=0Y=1Y=1
X=0X=00.400.10
X=1X=10.200.30

What is the covariance of XX and YY?

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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. 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 →