Qm

Covariance of two color counts among drawn candies

You draw 4040 candies, each independently red, blue, or green with chances 0.50.5, 0.30.3, and 0.20.2. Let NRN_R be the number of red and NBN_B the number of blue.

What is the covariance of NRN_R and NBN_B?

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

Correlation between the count of ones and sixes on a dieCorrelation between two bin counts when items are sorted at randomWhy yes-votes and no-votes are perfectly negatively correlatedCovariance of red and blue counts drawn without replacementTurning a covariance into a correlation for two stocks
All questions →