Expectation of 2 random variables

In summary, The proper way to compute E(XY) is to average over all of the events in the probability space. This can be done by using the formula E(XY)=∑ ∑ xy P(X=x and Y=y) which means summing over all possible combinations of x and y. Another way to do this is by letting Z=XY and finding E(Z)=∑ z P(Z=z). This yields the same result. However, using the formula is more straightforward as it eliminates the need for a transformation. It is also important to note that the probability of xy being 1 is 0, the probability of xy being 0 is 1/4, and the probability of x being -1 is
  • #1
kingwinner
1,270
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)?

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
  • #2
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.
 
  • #3
Hurkyl said:
But it's more straightforward to simply average over all of the events in your probability space.
How?
 
  • #4
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!
 
  • #5
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?
 
  • #6
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:

What is the definition of expectation of 2 random variables?

The expectation of 2 random variables is a measure of the average value or outcome that can be expected from a combination of two random variables. It takes into account the probability of each possible outcome and weighs them accordingly.

How is the expectation of 2 random variables calculated?

The expectation of 2 random variables is calculated by multiplying each possible outcome of the first variable by the probability of that outcome, and then doing the same for the second variable. These products are then added together to get the overall expectation.

What is the importance of expectation of 2 random variables in statistics?

The expectation of 2 random variables is an important concept in statistics as it allows us to make predictions and draw conclusions about the behavior of two variables together. It also serves as a key component in many statistical models and calculations.

Can the expectation of 2 random variables be negative?

Yes, the expectation of 2 random variables can be negative. This can occur when the probability of an outcome is low and the value associated with that outcome is negative. It is important to consider both positive and negative expectations when analyzing data.

How can the expectation of 2 random variables be used in real-world applications?

The expectation of 2 random variables has many real-world applications, such as in finance to calculate expected returns on investments, in weather forecasting to predict the probability of two weather events occurring simultaneously, and in genetics to study the inheritance of traits from two different parents.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
424
  • Set Theory, Logic, Probability, Statistics
Replies
30
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
451
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
Back
Top