In Statistical Analysis, the Mean Squared Error (MSE), also called Mean Squared Deviation (MSD), of an estimator measures the average of the square of the errors. This is the average squared difference between the estimated values and the true value.
MSE is a risk function, corresponding to the expected value of the Squared Error Loss. It’s a measure of quality of the estimator.
It is always a positive value that decreases as the error approaches 0.
The MSE is the second moment (about the origin) of the error. This means it incorporates the Variance of the estimator (how the estimates are spread from one data sample) and it’s bias (how far off the average estimated value is from the true value).
For an unbiased estimator, the MSE is the variance of the estimator.
Definition and Properties
The MSE either asses the quality of a predictor or of an estimator. The definition of an MSE differs according to whether one is describing a predictor or an estimator.
Predictor
If a vector of is generated from a sample data of data points on all variables, and is the vector of observed values being predicted, and being the predicted values, then the MSE is computed as:
Estimator
The MSE of an estimator with respect to an unknown parameter is defined as the expected value of of the squared difference between the estimator and the parameter. The MSE can be written as the sum of the variance of the estimator and the squared bias of the estimator. This means that, for an unbiased estimator, the MSE and the variance are equivalent.