
Xiaoming W.
asked 03/26/23Deduce that the random variable f(X) that minimizes E[(Y-f(X))^2] is f(X)= E[Y|X].
1 Expert Answer

David B. answered 07/30/23
Math and Statistics need not be scary
To rephrase, you want to prove that the the Function f(X) that minimises the expected value of (Y - f(x))2 is the expected value of Y given X. (i.e. E[Y|x] ) This is to me intuitive as the smallest average delta for any given X of the function Y-f(x) would be where f(x) = expected value of Y (given x).
Since E[Y|X] is a constant (and equal to f(X)) and given that E[ Y + c] = E[Y] + c (where c is a constant)
then E[Y-f(X)]2 = E[Y|x]2 - E[Y|x]2 or 0
This is just a shortcut proof.
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Stanton D.
This problem seems to have been garbled, perhaps, in entry. What function is E, and is [Y|X] the usual *logical* condition of Y, given X? If not, what is it? And please also regularize the grammar into sentences or equivalent.03/28/23