Let be the total number of observations, an index and be the th observation. The mean squared error is given by