Table of Contents
Last modified on December 24th, 2024
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.
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.
Mathematically,
Here are the formulas for calculating standard deviation and variance.
For Calculating Variance
For Calculating the Standard Deviation
We can also get standard deviation by square rooting the variance.
Here,
Thus, the main differences between standard deviation and variance are listed below:
Basis | Variance | Standard Deviation |
---|---|---|
1. Measure of Variability | A numerical value indicating how variable the observations are from the mean | Measures dispersion of observations within the dataset. |
2. Mathematical Relation | The average of squared deviations from the mean | The square root of the average squared deviations from the mean |
3. Symbols | σ2, s2, or Var(X) | σ or s |
4. Formula | 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}}$ | 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. Units | Squared units of the dataset | Same as the dataset |
6. Applications | Used in regression, ANOVA, and statistical modeling | Used in descriptive statistics and real-world scenarios |
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.
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