How Do You Calculate Covariance from a Joint Probability Table?

Click For Summary
SUMMARY

The discussion focuses on calculating covariance from a joint probability table involving the selection of beads from a bag containing three green beads, two red beads, and one blue bead. The joint probability distribution for the random variables G (green beads) and R (red beads) is established, leading to the conclusion that Cov(G, R) is less than 0. The participants clarify that the joint probability P(G=g, R=r) does not equal the product of the marginal probabilities P(G=g) and P(R=r), emphasizing the importance of understanding conditional expectations in this context.

PREREQUISITES
  • Understanding of joint probability distributions
  • Familiarity with covariance and its mathematical definition
  • Knowledge of expected values (E[G] and E[R])
  • Ability to compute conditional expectations
NEXT STEPS
  • Study how to construct joint probability tables for discrete random variables
  • Learn the mathematical properties of covariance and its implications
  • Explore conditional probability and its relationship with joint distributions
  • Investigate the calculation of expected values in multivariate distributions
USEFUL FOR

Students and professionals in statistics, data science, and probability theory who are looking to deepen their understanding of covariance and joint probability distributions.

Gregg
Messages
452
Reaction score
0
A bag contains three green beads, two red beads and a blue bead. You select
two beads at random. Let G denote the number of green beads and R the
number of red beads you select.

(a) Write the joint probability distribution of (G,R) in a table. Show that
Cov(G;R) < 0.


I can do P(G=g) for g=0,1,2 and P(R=r) for r=0,1,2. but isn't f(g,r) is not equal to P(G=g)P(R=r)? Is it?
 
Physics news on Phys.org
Hi Gregg! :smile:

Try the easy case:

is P(G = R = 0) = P(G = 0)P(R = 0) ? :wink:
 
0,4/15,1/15
6/15,3/15,0
1/15,0,0

That's the table I got for G (0,1,2) in column and R(01,2) in row. Giving E(G)=11/15 and E(R)=9/15.

Is covariance just \sum_g\sum_r (g-E[G])(r-E[R])P(G=g,R=r) ? Is there a quicker way to compute this?

calculate E(G | R = r).
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
1K
  • · Replies 0 ·
Replies
0
Views
2K