This is the basic mathematical definitions and calculation methods for Econometircs.
Best Predictor
Given a random vector X, we want to forecast Y, Let g(X) be a predictor of Y. For Prediction Error, it is defined as Y−g(X), and this prediction error can be treated as a random variable, and it can take positive and negative values. To minimize this prediction error, we define the the mean squared error (MSE) of predictor g(X) as E[(Y−g(X))2]. We can have that the CEF m(x)=E(Y∣X=x) is the best predictor, which has the smallest mean squared prediction error. Which means if we have E(Y2)<∞, then for any predictor g(X), we have: