Why does conditional probability used in mean square error equal zero?

Click For Summary

Discussion Overview

The discussion centers around the mathematical properties of conditional expectation, specifically examining the expression \(\mathbb{E}\left[(Y-\mathbb{E}[Y|X])^{2}\right]\) and why it equals zero. Participants explore the implications of this equality within the context of mean square error minimization and the definitions and properties of conditional expectations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about demonstrating that \(\mathbb{E}\left[(Y-\mathbb{E}[Y|X])^{2}\right]=0\) and seeks clarification on specific steps in the proof.
  • Another participant requests clarification on the definition of conditional expectation and the properties that can be used in the discussion.
  • A participant suggests improving notation to avoid ambiguity regarding the distributions involved in the expectation calculations.
  • Some participants argue that the equality \(\mathbb{E}\left[(Y-\mathbb{E}[Y|X])^{2}\right]=0\) is not true unless \((Y-\mathbb{E}[Y|X])=0\), raising questions about the interpretation of this expression as a random variable.
  • There is a discussion about how to interpret \(Y - \mathbb{E}[Y|X]\) and whether it can be realized from the distribution of \(Y\) before taking the expected value with respect to \(X\).

Areas of Agreement / Disagreement

Participants do not reach a consensus on the validity of the statement that \(\mathbb{E}\left[(Y-\mathbb{E}[Y|X])^{2}\right]=0\). There are competing views on the conditions under which this equality holds and the interpretation of the terms involved.

Contextual Notes

There are limitations regarding the assumptions made about the random variables \(X\) and \(Y\), as well as the definitions of conditional expectation that may affect the validity of the claims discussed.

EdMel
Messages
13
Reaction score
0
Hi guys,

I am having trouble showing that \mathbb{E}\left[(Y-\mathbb{E}[Y|X])^{2}\right]=0.

I understand the proof of why E[Y|X] minimizes the mean square error, but I cannot understand why it is then equal to zero.

I tried multiplying out the square to get \mathbb{E}\left[Y^{2}\right]-2\mathbb{E}\left[Y\mathbb{E}[Y|X]\right]+\mathbb{E}\left[\mathbb{E}[Y|X]\mathbb{E}[Y|X]\right]
but have not been able to justify \mathbb{E}\left[Y\mathbb{E}[Y|X]\right]=\mathbb{E}\left[Y^{2}\right]<br /> or \mathbb{E}\left[\mathbb{E}[Y|X]\mathbb{E}[Y|X]\right]=\mathbb{E}\left[Y^{2}\right].

Thanks in advance.
 
Physics news on Phys.org
Can you tell us your definition of the conditional expectation and what properties you are allowed to use?
 
It would also be helpful to improve the notation. If X and Y are random variables and f(X,Y) is a function of them then the notation E f(X,y) is ambiguous. It is not clear whether the expectation is being computed with respect to the distribution of X or the distribution of Y - or perhaps with respect to the joint distribution for (X,Y).

You can use a subscript to denote which distribution is used to compute the expectation. For example, if Y is not a function of X then E_X ( E_Y ( 3Y + 1) ) is the expectation of with respect to the distribution of X of the constant value E_Y(3Y + 1) Hence E_X (E_Y (3Y+1)) = E_Y (3Y+ 1).
 
It's hard to prove because it is not true unless (Y-E(Y|X))==0. Are you sure that (Y-E(Y|X)) is supposed to be squared?
 
FactChecker said:
It's hard to prove because it is not true unless (Y-E(Y|X))==0.

And before (Y - E(Y|X)) is equal or not equal to zero, it would have to mean something. How do we interpret Y - E(Y|X) ? Is it a random variable? To realize it , do we realize a value Y = y0 from the distribution of Y and then take the expected value of the constant y0 with respect to the distribution of X ?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 0 ·
Replies
0
Views
4K