Given a single data series, each observation, Yi, is subtracted from the estimated mean of the data series, Y, and then squared. All observations are then summed to produce the Sum of Squared Deviations. The Sum of Squared Deviations is used to calculate the sample variance, alternatively called the Mean Squared Deviation.