Chapter objective
To know how to calculate and interpret the variance and standard deviation of a simple or weighted statistical series, and to understand their utility in analyzing and comparing the dispersion of different distributions.
Lesson
The Variance (V)
The variance is the arithmetic mean of the squared deviations between each value of the series (xi) and the arithmetic mean of the series (x̄). It is always positive, and its unit is the square of the variable's unit.
- For a simple series: V = (1/N) * Σ(xi - x̄)²
- For a weighted series (with frequencies ni): V = (1/N) * Σni(xi - x̄)²
- Shortcut formula (Koenig-Huygens Theorem): V = ( (Σni * xi²) / N ) - x̄²
The Standard Deviation (σ)
The standard deviation is the square root of the variance (σ = √V). Its advantage is that it is expressed in the same unit as the data, making it easier to interpret.
It represents the average deviation of values from the mean. The higher the standard deviation, the more dispersed (heterogeneous) the values in the series are. Conversely, a low standard deviation indicates that the values are concentrated around the mean (homogeneous).
The Coefficient of Variation (CV)
It is an indicator of relative dispersion, with no unit, which allows comparing the dispersion of two statistical series that do not have the same unit of measurement or have very different means.
Formula: CV = (σ / |x̄|). The higher the CV, the greater the relative dispersion.
Example
Let's analyze the daily revenues (in DH) of 5 small merchants in Casablanca: 300, 450, 500, 550, 700. 1. Calculation of the mean (x̄): x̄ = (300 + 450 + 500 + 550 + 700) / 5 = 2500 / 5 = 500 DH. 2. Calculation of the variance (V): V = [ (300-500)² + (450-500)² + (500-500)² + (550-500)² + (700-500)² ] / 5 V = [ (-200)² + (-50)² + (0)² + (50)² + (200)² ] / 5 V = [ 40000 + 2500 + 0 + 2500 + 40000 ] / 5 = 85000 / 5 = 17000 DH². 3. Calculation of the standard deviation (σ): σ = √17000 ≈ 130,38 DH. Interpretation: On average, the daily revenues of these merchants deviate from the mean (500 DH) by approximately 130.38 DH. The dispersion is therefore notable.
Key points
- Variance (V) is the average of the squared deviations from the mean.
- Standard deviation (σ = √V) measures the average deviation from the mean and is expressed in the same unit as the data.
- The larger the standard deviation, the more dispersed (heterogeneous) the series is.
- The coefficient of variation (CV = σ / x̄) is used to compare the dispersion of different series.
Common mistakes
- Forgetting to square the deviations (xi - x̄) when calculating the variance.
- Confusing standard deviation (σ) and variance (V). Standard deviation is the square root of the variance.
- Comparing the standard deviations of two series with very different means without using the coefficient of variation.
Exercises
- A student's grades in economics are: 12, 14, 9, 11, 15. Calculate the average grade, the variance, and the standard deviation of this series.
- A workshop employs 10 employees with a salary of 3000 DH and 5 managers with a salary of 8000 DH. Calculate the average salary and the standard deviation of salaries in this workshop.
- Company A has an average salary of 6000 DH with a standard deviation of 500 DH. Company B has an average salary of 7000 DH with a standard deviation of 600 DH. Using the coefficient of variation, determine which company has the more homogeneous salary policy.
Quiz
Exam preparation
In the Moroccan 'examen national' (national baccalaureate exam) for Sciences Économiques, calculating variance and standard deviation is a classic question in the descriptive statistics exercise (worth 2 to 3 points). Interpretation (comparing the homogeneity of two series) is also frequently required.
Frequently asked questions
Why do we use the square of the deviations in the variance formula?
We square the deviations for two reasons: 1) so that positive and negative deviations do not cancel each other out (the sum of simple deviations Σ(xi-x̄) is always zero) and 2) to give more weight to values that are very far from the mean.
Still struggling with this chapter?
Send us your question: a teacher will answer and suggest the right support (group or private lessons).