**Variance and Standard deviation**Â are the two important topics in Statistics. It is the measure of the dispersion of statistical data. Dispersion computes the deviation of data from its mean or average position. The degree of dispersion is calculated by the procedure of measuring the variation of data points. In this article, let us discuss what is variance and standard deviation, formulas, and the procedure to find the values with examples.

Also, read: |

## What are the Variance and Standard Deviation?

**Variance** is the measure of how notably a collection of data is spread out. If all the data values are identical, then it indicates the variance is zero.Â All non-zero variances are considered to be positive. A little variance represents that the data points are close to the mean, and to each other, whereas if the data points are highly spread out from the mean and from one other indicates the high variance. In short, the variance is defined as the average of the squared distance from each point to the mean.

**Standard Deviation** is a measure which shows how much variation (such as spread, dispersion, spread,) from the mean exists. The standard deviation indicates a “typical” deviation from the mean. It is a popular measure of variability because it returns to the original units of measure of the data set.Â As like the variance, if the data points are close to mean, there is a small variation whereas the data points are highly spread out from the mean, then it has a high variance.

## Variance and Standard Deviation Formula

The formulas for the variance and the standard deviation is given below:

**Standard Deviation Formula**

The standard deviation formula is:

\(Standard\ Deviation, S.D (\sigma) = \sqrt{\frac{\sum_{i=1}^{n}(x_{i}-\bar{x})^{2}}{n}}\)**Variance Formula**

The formula for the variance is:

\(Variance, V (\sigma ^{2}) = \frac{\sum_{i=1}^{n}(x_{i}-\bar{x})^{2}}{n}\)Where,

\(\sigma\) is the standard deviation

x Indicates each value of the population

\(\bar{x}\) shows the mean of all values

n is the total number of values

## How Standard Deviation is calculated?

The formula for standard deviation makes use of three variables. The first variable is the value of each point within a data set, with a sum-number indicating each additional variable (x, x_{1}, x_{2}, x_{3}, etc). The mean is applied to the values of the variable M and the number of data that is assigned to the variable n. Variance is the average of the values of squared differences from the arithmeticÂ mean.

To calculate the mean value, the values of the data elements have to be added together and the total is divided by the number of data entities that were involved.

Standard deviation, denoted by the symbol **Ïƒ,**Â describes the square root of the mean of the squares of all the values of a series derived from the arithmetic mean which is also called as the root-mean-square deviation. 0 is the smallest value of standard deviation since it cannot be negative. When the elements in a series are more isolated from the mean, then the standard deviation is also large.

The statistical tool of standard deviation is the measures of dispersion that computes the erraticism of the dispersion among the data. For instance, mean, median and mode are the measures of central tendency. Therefore, these are considered to be the central first order averages. The measures of dispersion that are mentioned directly over are averages of deviations that result from the average values, therefore these are called as second-order averages.

### Standard Deviation Example

Let’s calculate the standard deviation for the number of gold coins on a ship run by pirates.

There are a total of 100 pirates on the ship. Statistically, it means that the population is 100. We use the standard deviation equation for the entire population if we know a number of gold coins every pirate has.

Statistically, let’s consider a sample of 5 and here you can use the standard deviation equation for this sample population.

This means we have a sample size of 5 and in this case, we use the standard deviation equation for the sample of a population.

Consider the number of gold coins 5 pirates have;Â 4, 2, 5, 8, 6.

**Mean:**

\(\bar{x} = \frac{\sum x}{n}\)

=\(\frac{x_1+x_2+x_3+x_4…..+x_N}{N}\)

= (4 + 2 + 5 + 6 + 8) / 5

= 5

\(x_n -\bar{x}\) for every value of the sample:

\(x_1 -\bar{x} = 4 – 5 = -1\)

\(x_2 -\bar{x} = 2 – 5 = -3\)

\(x_3 -\bar{x} = 5 – 5 = 0\)

\(x_4 -\bar{x} = 8 – 5 = 3\)

\(x_5 -\bar{x} = 6 – 5 = 1\)

\(\sum \left ( x-\bar{x} \right )\)

\(= (x_1 -\bar{x})^{2} + (x_2 -\bar{x})^{2}+ â€¦ +(x_N -\bar{x})^{2}\)

\(= (-1)^2 + (-3)^2 + 0^2 + 3^2 + 1^2\)

= 20

**Standard deviation:**

**Â **\(S.D = \sqrt{\frac{\sum x-\bar{x}}{n}}\)

= \(\sqrt{\frac{20}{5}}\)

= 2

Check out more problems on variance and standard deviation of grouped data and Statistics, register with BYJU’S – The Learning App to learn with ease.