Expectation of 2 random variables

Click For Summary

Discussion Overview

The discussion centers around the computation of the expected value of the product of two random variables, X and Y, using their joint probability mass function. Participants explore different methods for calculating E(XY), including transformations and direct summation approaches.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant proposes letting Z=XY and finding E(Z) using the formula E(Z)=∑ z P(Z=z) to compute E(XY).
  • Another participant suggests that averaging over all events in the probability space is a more straightforward method, but does not provide specific details on how to do this.
  • A participant questions how to average over all events in the probability space, seeking clarification on the method.
  • One participant calculates the probabilities for different values of XY, concluding that the expected value of XY is 0 based on their reasoning.
  • Another participant confirms the approach of letting Z=XY and finding E(Z), while introducing a theorem that states E(XY)=∑ ∑ xy P(X=x and Y=y), asking for clarification on the meaning of the double sum.
  • A response clarifies that the double sum involves summing over all combinations of x and y, with a more detailed explanation of the summation process provided.

Areas of Agreement / Disagreement

Participants express differing views on the most straightforward method to compute E(XY). While some agree on the use of the transformation Z=XY, others advocate for averaging over events directly. The discussion remains unresolved regarding the preferred method.

Contextual Notes

Participants do not fully explore the implications of their calculations or assumptions, and there are no explicit definitions provided for the terms used in the discussion.

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:

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K