Physical Address

Suite 5, 181 High Street,

Willoughby North NSW 2068

Calculating the Sum of Squared Deviations from the Mean (Sum of Squares)

Concepts such as ​mean​ and ​deviation​ are to statistics what dough, tomato sauce and mozzarella cheese are to pizza: Simple in principle, but having such a variety of interrelated applications that it is easy to lose track of basic terminology and the order in which you must perform certain operations.

Calculating the sum of the squared deviations from the mean of a sample is a step along the way to computing two vital descriptive statistics: the variance and the standard deviation.

Step 1: Calculate the Sample Mean

To calculate a mean (often referred to as an average), add the individual values of your sample together and divide by ​n​, the total items in your sample. For example, if your sample includes five quiz scores and the individual values are 63, 89, 78, 95 and 90, the sum of these five values is 415, and the mean is therefore

(415 ÷ 5 = 83)

Step 2: Subtract the Mean From the Individual Values

In the present example, the mean is 83, so this subtraction exercise yields values of

((63-83) = -20)((89-83) = 6)((78-83) = -5)((95-83) = 12)((90-83) = 7)

These values are called the deviations, because they describe the extent to which each value deviates from the sample mean.

Step 3: Square the Individual Variations

In this case:

((-20)^2 = 400)(6^2 = 36)((-5)^2 = 25)(12^2 =144)(7^2 = 49)

These values are, as you would expect, the squares of the deviations determined in the previous step.

See Also:  Guide to Converting Amu to Kg

Step 4: Add the the Squares of the Deviations

To get the sum of the squares of the deviations from the mean, and thereby complete the exercise, add the values you calculated in step 3. In this example, this value is

(400 + 36 + 25 + 144 + 49 = 654)

The sum of the squares of the deviations is often abbreviated SSD in stats parlance.

Bonus Round

This exercise does the bulk of the work involved in calculating the variance of a sample, which is the SSD divided by n − 1, and the standard deviation of the sample, which is the square root of the variance.

What is the CDP ?
What is the CDP ?

The CHRISTIAN DEMOCRATIC PARTY (CDP) is Australia’s only registered national Christian political party. Although it is registered as a political party, it operates on non-party political lines. The CDP was founded by a group of caring Australian ministers with high ethical values based on the Christian values and ethics. The aim of its members is to promote the common good by endorsing responsible, long-term goals, and not short-term gain.

Our People