Expectation of 2 random variables

kingwinner
Messages
1,266
Reaction score
0
Let X and Y be two random variables.

Say, for example, they have the following joint probability mass function
Code:
              x
        -1   0    1
  -1    0   1/4  0
y 0     1/4  0  1/4
   1     0   1/4  0

What is the proper way of computing E(XY[/color])?

Can I let Z=XY and find E(Z)=∑ z P(Z=z) ? Would this give E(XY)?

Thanks for explaining!
 
Physics news on Phys.org
You could do that. But it's more straightforward to simply average over all of the events in your probability space rather than doing a transformation like that.
 
Hurkyl said:
But it's more straightforward to simply average over all of the events in your probability space.
How?
 
What is the probability that xy is 1? In order that xy= 1, either x= 1 and y= 1, which has probability 0 or x= -1 and y= -1 which has probability 0: The probability that xy= 1 is 0.

What is the probability that xy= 0? In order that xy= 0, either x= 0 and y= -1, which has probability 1/4, or x= 0 and y= 0, which has probability 0, or x= 0 and y= 1 which has probability 1/4, or x= -1 and y= 0 which has probability 1/4, or x= 1 and y= 0 which has probability 1/4. The probability that xy= 0 is 1/4+ 1/4+ 1/4+ 1/4= 1.

What is the probability that x= -1? In order that xy= 1, either x= 1 and y= -1 which has probability 0 or x= -1 and y= 1 which has probability 0. The probability that xy= -1 is 0.

The expected value of xy is (-1)(0)+ (0)(1)+ (1)(0)= 0.

Of course, the fact that xy had to be 0 was obvious from the start!
 
Yes, this is pretty much the way I was thinking about: Let Z=XY, and find E(Z)=∑ z P(Z=z)

But I also saw a theorem:
Code:
E(XY)=∑ ∑ xy P(X=x and Y=y)
      x y
What does the double sum mean? Does it just mean summing over all possible combinations of x and y?
 
kingwinner said:
Yes, this is pretty much the way I was thinking about: Let Z=XY, and find E(Z)=∑ z P(Z=z)

But I also saw a theorem:
Code:
E(XY)=∑ ∑ xy P(X=x and Y=y)
      x y
What does the double sum mean? Does it just mean summing over all possible combinations of x and y?
Yes. that is exactly what it means.

Strictly speaking what it means is "first sum over all values of y, keeping x as a "variable", then sum that over all values of x" but the effect is to sum over all combinations of x and y.
 
Last edited by a moderator:
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top