Is the formula for conditional expectation valid for multiple random variables?

In summary, the proof shows that for discrete random variables X and Y and a function g(Y), E[Xg(Y)|Y] = g(Y)E[X|Y]. However, this formula does not hold for three variables in general. It only works when the event {Xg(Y)|Y=y} can be rewritten as g(y){X|y}. If X and Z are independent, then E[Xg(Z)|y] = E[X|y]E[g(Z)|y].
  • #1
jimmy1
61
0
[SOLVED] Conditional Expectation

I'm trying to understand the following proof I saw in a book. It says that:
[tex]E[Xg(Y)|Y] = g(Y)E[X|Y][/tex] where X and Y are discrete random variables and g(Y) is a function of the random variable Y.

Now they give the following proof:

[tex]E[Xg(Y)|Y] = \sum_{x}x g(Y) f_{x|y}(x|y) [/tex]
[tex]= g(Y)\sum_{x}x f_{x|y}(x|y) [/tex]
[tex]= g(Y)E[X|Y] [/tex]

Now, the proof is very simple as they are just using the definition of conditional expectation (ie. [tex]E[X|Y]= \sum_{x}x f_{x|y}(x|y) [/tex]).

But, would this formula also work for say 3 variables? That is, [tex]E[Xg(Z)|Y] = g(Z)E[X|Y][/tex], where Z is another discrete random variable.

It probably isn't right, but from the above proof I can't immediatley see what's wrong with it, as I'll be just switching the g(Y) with a g(Z), and as the summation in the proof is over x, I can take g(Z) out of the summation and similarly get the result [tex]E[Xg(Z)|Y] = g(Z)E[X|Y][/tex] ??
 
Last edited:
Physics news on Phys.org
  • #2
No, the proof works because the event {Xg(Y)|Y=y} = {Xg(y)|y} = g(y){X|y}; but the event {Xg(Z)|y} cannot be written similarly, in general.

In general, V = Xg(Z) is a new random variable and has its own distribution and conditional distribution; so the sum is over v.

If X and Z are independent then E[Xg(Z)|y] = E[X|y]E[g(Z)|y].

If Z = h(Y) then E[Xg(h(y))|y] = g(h(y))E[X|y].
 
  • #3
Ah yes, that clears things up. Cheers, you've been great help once again!
 

Related to Is the formula for conditional expectation valid for multiple random variables?

What is conditional expectation?

Conditional expectation is a statistical concept that measures the expected value of a variable given certain conditions or information. It is used to predict the average value of a variable based on a specific set of conditions.

How is conditional expectation calculated?

Conditional expectation is calculated using the formula E(X|Y) = ∑ x P(X=x|Y), where X and Y are random variables and P(X=x|Y) is the conditional probability of X given Y. This formula takes into account the probability of each outcome of X given the specific conditions of Y.

What is the difference between conditional expectation and unconditional expectation?

The difference between conditional expectation and unconditional expectation is that conditional expectation takes into account a specific set of conditions or information, while unconditional expectation considers all possible outcomes without any particular conditions.

What is the importance of conditional expectation in statistics?

Conditional expectation is important in statistics because it allows us to make predictions and estimate the average value of a variable in specific scenarios. It also helps us understand the relationship between two variables and how one variable may affect the expected value of another.

What are some real-world applications of conditional expectation?

Conditional expectation has many real-world applications, such as in finance, where it is used to estimate the future value of investments based on market conditions. It is also used in machine learning and data analysis to make predictions and improve decision-making processes. Additionally, conditional expectation is often used in economics, engineering, and other fields to understand relationships between variables and make informed decisions.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
631
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
999
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
117
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
661
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
Back
Top