Explanation on minimization of Expected values

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
cutesteph
Messages
62
Reaction score
0
Why is the E[ Y - f(x) ]^2 minimized when choosing f(x) = E[Y|X] ?
 
Physics news on Phys.org
Hye cutesteph.

Try finding when the expression is zero. Also since you are using two variables, what is the expectation with respect to?

Another thing to note is that E_y[E_x[Y|X]] = E[Y] (also known as conditional expectation).