
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































In the previous lecture, we learned how to describe the centre of a dataset.
We used measures such as:
But the centre alone does not tell us everything.
If we report only the mean, the two datasets appear identical. But they clearly are not. Dataset A is tightly concentrated around 50. Dataset B is spread widely across the number line. This introduces the second major question in descriptive statistics: How far are the observations spread around the centre? This is what measures of dispersion or spread tell us.
A useful summary of numerical data usually requires both:
1. Centre Where is the data located? Examples: - Mean - Median 2. Spread How far apart are the observations? Examples: - Range - Variance (^) 5 / 94
The simplest measure of spread is the range.
Range = Maximum − Minimum
or Range = x(n) − x(1)
where:
Consider: x = { 3 , 5 , 7 , 8 , 10 , 12 , 15 } The smallest value is: 3 The largest value is: 15 Therefore: Range = 15 − 3 = 12
One observation has increased the range from 4 to 90. This shows an important idea: The range is extremely sensitive to extreme values. Therefore, the range is useful as a quick description of the total span of the data, but it is usually not sufficient as the primary measure of variability.
The range looks only at the two extreme observations. A more complete approach is to ask: How far is every observation from the centre? Suppose we use the mean as our centre. For every observation xi, its deviation from the mean is:
xi − x¯
In fact, the deviations from the mean always satisfy: ∑︂^ n
i=
(xi − x¯) = 0
Therefore, we cannot simply average the raw deviations. The positive and negative values cancel each other. We need a way to make all deviations positive. One approach is to take absolute values. Another is to square them. Variance uses squared deviations.
In the previous lecture, we established an important property of the mean. The mean is the value that minimises the sum of squared deviations:
x ¯ = arg min c
∑︂ n
i=
(xi − c)^2
In simple terms: Among all possible choices of centre, the mean produces the smallest possible total squared distance from the observations.
Consider: x = { 3 , 5 , 7 , 8 , 10 , 12 , 15 } Step 1: Calculate the mean The sum is: 3 + 5 + 7 + 8 + 10 + 12 + 15 = 60 There are 7 observations. Therefore:
¯x =
approximately.
xi xi − x¯ 3 − 5. 57 5 − 3. 57 7 − 1. 57 8 − 0. 57 10 1. 43 12 3. 43 15 6. 43
Notice something important. The deviations add to approximately zero. That is why we cannot simply average them.
For population variance: σ^2 =^101.^71 7 Therefore: σ^2 ≈ 14. 53 This is the variance of the dataset.
Squaring does more than simply remove negative signs. It gives greater weight to large deviations. For example: 22 = 4 but 102 = 100 The deviation of 10 is only five times larger than the deviation of 2. But its squared contribution is: 100 4
times larger.