@wikipedia
MSE(x, \hat x) = \frac{1}{n} \sum_{i=1}^n (x_i - \hat x_i)^2
where
predictor of variable
discrete set of numerical samples of variable
discrete set of predictors for the corresponding samples of variable