Variance is expressed in squared units because it is defined as the average of the squared deviations from the mean. Squaring each deviation before averaging ensures that positive and negative deviations do not cancel out, but it also changes the unit of measurement from the original unit (e.g., meters) to that unit squared (e.g., square meters).
Background: What Variance Measures
Variance quantifies how spread out a set of numbers is around their average. To compute it, you first find the mean, then subtract the mean from each value to get deviations, square each deviation, and finally average those squared deviations. This process gives a single number that summarizes dispersion. Because the deviations are squared, the result is always non-negative and is expressed in squared units of the original data.
How Squaring Solves the Cancellation Problem
If you simply averaged the deviations without squaring, the positive and negative deviations would sum to zero for any dataset, making the average deviation always zero and useless as a measure of spread. Squaring removes the sign, so every deviation contributes positively to the total. The squaring also gives more weight to larger deviations, which is often desirable because outliers should influence a measure of spread more strongly.
Why Not Use Absolute Values Instead?
Using absolute deviations (the mean absolute deviation) also avoids cancellation and keeps the original units. However, the absolute value function is not differentiable at zero, which makes it less convenient for many mathematical and statistical derivations. Squaring is smooth and has nice algebraic properties, such as additivity for independent variables: the variance of a sum of independent random variables is the sum of their variances. This property is fundamental in statistics and probability theory, from error propagation to the central limit theorem.
Concrete Example: Heights in Centimeters
Suppose you measure the heights of five plants in centimeters: 10, 12, 14, 16, 18. The mean is 14 cm. The deviations are -4, -2, 0, 2, 4 cm. Squaring gives 16, 4, 0, 4, 16 (square centimeters). The average of these squared deviations is (16+4+0+4+16)/5 = 40/5 = 8. So the variance is 8 cm². Notice that the unit is cm², not cm. If you wanted a measure of spread in the original unit, you would take the square root of the variance, which gives the standard deviation: √8 ≈ 2.83 cm.
Standard Deviation: The Unit-Friendly Companion
Because variance is in squared units, it is often hard to interpret directly. The standard deviation, defined as the square root of the variance, returns the measure to the original units. In the plant example, the standard deviation is about 2.83 cm, which is directly comparable to the mean height. This is why standard deviation is frequently reported alongside the mean, while variance is more common in theoretical work and in formulas where its mathematical properties are advantageous.
Where Variance in Squared Units Appears in Practice
Variance in squared units is standard in many fields. In finance, the variance of returns is expressed in squared percentage points (or squared decimal returns), and volatility (standard deviation) is in the original percentage units. In quality control, variance of measurements is in squared measurement units. In physics, the variance of a position measurement is in square meters. Understanding the units helps avoid confusion when combining or comparing quantities.
Common Misconceptions and Pitfalls
- Mistaking variance for standard deviation: Variance is not in the same units as the data, so it cannot be directly compared to the mean or to individual values. Always check whether a reported “spread” is variance or standard deviation.
- Forgetting to square the units: When reporting variance, include the squared unit (e.g., cm², kg², dollars squared) to be precise. Omitting the square can lead to dimensional errors in calculations.
- Assuming variance is always in squared units of the original variable: If the original variable is itself a squared quantity (e.g., area), its variance is in quartic units (e.g., m⁴). The rule is that variance has the units of the variable squared.
- Thinking squaring is arbitrary: Squaring is chosen for mathematical convenience and desirable properties, not because it is the only way to measure spread. Other measures like mean absolute deviation exist and are sometimes preferred for interpretability.
Alternatives to Variance
Several alternatives to variance exist, each with its own unit properties. The mean absolute deviation (MAD) is in the original units and is more robust to outliers. The interquartile range (IQR) is also in the original units and focuses on the middle 50% of data. The standard deviation, as mentioned, is in the original units and is the square root of variance. The choice depends on the context: variance is preferred in theoretical work and when additive properties are needed, while MAD and IQR are often better for skewed data or when outliers are present.
Frequently Asked Questions
Why does variance use squared units instead of just units?
Because variance is calculated by squaring the deviations from the mean. Squaring changes the unit to the square of the original unit. This is a mathematical consequence of the definition, not an arbitrary choice.
Can variance ever be negative?
No, variance is always non-negative because it is an average of squared numbers, which are all non-negative. A variance of zero means all values are identical.
Is variance in squared units the same as standard deviation?
No, standard deviation is the square root of variance and is in the original units. Variance is in squared units. They measure the same spread but on different scales.
How do I interpret a variance value?
Variance is best interpreted in comparison with other variances or by converting it to standard deviation. A larger variance indicates greater spread, but the absolute value is hard to interpret without context because of the squared units.
Why do we square deviations instead of taking absolute values?
Squaring has nicer mathematical properties, such as differentiability and additivity for independent variables. Absolute values are sometimes used but are less convenient in many statistical derivations.
Does variance always have squared units of the original variable?
Yes, if the original variable has units U, then variance has units U². For example, if U is meters, variance is in square meters. If U is already squared, variance is in quartic units.