Last modified on December 24th, 2024

chapter outline

 

Variance vs Standard Deviation

Variance and standard deviation are statistical measurements that indicate how data is dispersed from the mean (average) of a dataset. Although both are measures of variability, they differ in many ways.

Measure of Variability

  • Variance is a numerical value that indicates how variable the observations are. It is the average of the squared differences between each data point and the mean.
  • Standard deviation explains variability by measuring the dispersion of observations within the dataset. It is the square root of the variance. 

For example, in a dataset A = {5, 10, 15, 20, 25}, the variance is 50 and the standard deviation is approximately 7.07

Thus, a higher standard deviation always means a higher variance.

Symbol

Mathematically,

  • The variance is typically represented by σ2, s2, or Var(X)
  • The standard deviation is represented by σ or s. 

How to Find

Here are the formulas for calculating standard deviation and variance.

For Calculating Variance

  • Population Variance: ${\sigma ^{2}=\dfrac{\sum \left( x_{i}-\mu \right) ^{2}}{N}}$
  • Sample Variance: ${s^{2}=\dfrac{\sum \left( x_{i}-\overline{x}\right) ^{2}}{n-1}}$

For Calculating the Standard Deviation

  • Population Standard Deviation: ${\sigma =\sqrt{\dfrac{\sum \left( x_{i}-\mu \right) ^{2}}{N}}}$
  • Sample Standard Deviation: ${s=\sqrt{\dfrac{\sum \left( x_{i}-\overline{x}\right) ^{2}}{n-1}}}$

We can also get standard deviation by square rooting the variance.

Here,

  • N = Total number of data points in the population
  • n = Total number of data points in the sample
  • xi = Individual data point
  • μ or ${\overline{x}}$ = Mean

Units

  • The variance is expressed in squared units of the dataset.
  • The standard deviation is expressed in the same units as the original data. 

Applications

  • The variance is used in more complex statistical analyses, such as regression, ANOVA, and modeling.
  • The standard deviation provides a detailed view of data spread that is used in quality control, finance, and analyzing variability in datasets. 

Summary

Thus, the main differences between standard deviation and variance are listed below: 

BasisVarianceStandard Deviation
1. Measure of VariabilityA numerical value indicating how variable the observations are from the meanMeasures dispersion of observations within the dataset.
2. Mathematical RelationThe average of squared deviations from the meanThe square root of the average squared deviations from the mean
3. Symbolsσ2, s2, or Var(X)σ or s
4. FormulaPopulation Variance: ${\sigma ^{2}=\dfrac{\sum \left( x_{i}-\mu \right) ^{2}}{N}}$
Sample Variance: ${s^{2}=\dfrac{\sum \left( x_{i}-\overline{x}\right) ^{2}}{n-1}}$
Population Standard Deviation: ${\sigma =\sqrt{\dfrac{\sum \left( x_{i}-\mu \right) ^{2}}{N}}}$
Sample Standard Deviation: ${s=\sqrt{\dfrac{\sum \left( x_{i}-\overline{x}\right) ^{2}}{n-1}}}$
5. UnitsSquared units of the datasetSame as the dataset
6. ApplicationsUsed in regression, ANOVA, and statistical modelingUsed in descriptive statistics and real-world scenarios

Solved Example

A company tracks the monthly sales (in thousands of dollars) of two sales teams over the last six months:
Team A Sales: 15, 18, 20, 22, 19, 17
Team B Sales: 25, 28, 30, 35, 32, 27
Find the variance and standard deviation of each team.

Solution:

Here,
For team A, 
Mean of A = μA = ${\dfrac{15+18+20+22+19+17}{6}}$ = ${\dfrac{111}{6}}$ = 18.5
The squared deviations are:
(15 – 18.5)2 = 12.25
(18 – 18.5)2 = 0.25
(20 – 18.5)2 = 2.25
(22 – 18.5)2 = 12.25
(19 – 18..5)2 = 0.25
(17 – 18.5)2 = 2.25
The sum of the squared deviation is 12.25 + 0.25 + 2.25 + 12.25 + 0.25 + 2.25 = 29.5
Thus, the variance is σA2 = ${\dfrac{29.5}{6}}$ ≈ 4.92
The standard deviation is σA = ${\sqrt{4.92}}$ ≈ 2.22
For team B, 
Mean of B = μB = ${\dfrac{25+28+30+35+32+27}{6}}$ = ${\dfrac{177}{6}}$ = 29.5
The squared deviations are:
(25 – 29.5)2 = 20.25
(28 – 29.5)2 = 2.25
(30 – 29.5)2 = 0.25
(35 – 29.5)2 = 30.25
(32 – 29.5)2 = 6.25
(27 – 29.5)2 = 6.25
The sum of the squared deviation is 20.25 + 2.25 + 0.25 + 30.25 + 6.25 + 6.25 = 65.5
Thus, the variance is σB2 = ${\dfrac{65.5}{6}}$ ≈ 10.92The standard deviation is σB = ${\sqrt{10.92}}$ ≈ 3.31

Last modified on December 24th, 2024