Statistics → Mean → Expected Value → Weighted Average → Variance and Standard Deviation

Consider the two data sets:

**Data Set 1:** 4, 3, 5, 7, 6

**Data Set 2:** 2, 10, 1, 9, 3

The mean (or average) of the two data sets is same, that is 5. But in data set 2, the values are more spread out as compare to data set 1. So, Mean alone is not sufficient to represent the data. We also need to calculate the standard deviation of the given data.

**Variance**

Variance is the average of the squared differences from the mean.

If is the mean of the values , then variance, denoted by is given by

where is total number of values.

**Standard Deviation**

Standard deviation is a measure of how spreads out points are from the mean. The standard deviation is the square root of variance.

So, variance is denoted by and standard deviation is denoted by .

**Example.** Calculate variance and standard deviation of the above two data sets.

The mean of data set 1 is 5, and there are total 5 numbers. So, and . So, by using the variance formula

we have

And, the standard deviation is given by

Similarly, the variance and standard deviation of data set 2 are given by (NOTE: The mean of data set 2 is also 5, and there are also 5 values.)

In investment and Finance, Risk is calculated by calculating the standard deviation.