Dispersion -- Diagnostic Tests
Dispersion — Diagnostic Tests
Unit Tests
Tests edge cases, boundary conditions, and common misconceptions for dispersion.
UT-1: Variance vs Standard Deviation Units
Question:
The heights of 100 students have mean cm and variance cm. A new student of height cm joins the group. Find the new mean and new variance.
Solution:
Original: n = 100$$\bar{x} = 165$$\sigma^2 = 49.
Sum of original data: .
Sum of squares of original data: .
After adding 181:
New sum: .
New .
New mean: .
New sum of squares: .
New variance: cm.
Note: variance has units cmWhile standard deviation has units cm.
UT-2: Coding Effect on Mean and Standard Deviation
Question:
A set of data has mean and standard deviation . If each value is transformed by Find the new mean and new standard deviation in terms of and .
Solution:
For the transformation :
- New mean .
- New standard deviation .
- New variance .
The additive constant affects the mean but NOT the standard deviation.
A common mistake is thinking the affects the standard deviation.
UT-3: Grouped Data Midpoints
Question:
Find the estimated mean and estimated standard deviation from the following grouped data:
| Class | Frequency |
|---|---|
| 5 | |
| 8 | |
| 12 | |
| 5 |
Solution:
Midpoints: .
| 5 | 5 | 25 | 125 |
| 15 | 8 | 120 | 1800 |
| 25 | 12 | 300 | 7500 |
| 35 | 5 | 175 | 6125 |
| Total | 30 | 620 | 15550 |
Estimated mean: .
Estimated variance: .
Estimated SD .
UT-4: Box Plot Interpretation
Question:
A box plot has minimum = 10$$Q_1 = 25Median = 35$$Q_3 = 50Maximum . Find the interquartile range and identify any outliers.
Solution:
.
Lower fence: .
Upper fence: .
Since all values ( to ) fall within There are no outliers.
UT-5: Combined Data Sets
Question:
Set has n_A = 8$$\bar{x}_A = 10$$s_A^2 = 4. Set has n_B = 12$$\bar{x}_B = 15$$s_B^2 = 9. Find the mean and variance of the combined set .
Solution:
Combined .
Combined mean: .
Combined variance using the formula:
Where and .
Integration Tests
Tests synthesis of dispersion with other topics.
IT-1: Dispersion and Probability (with Probability)
Question:
A random variable takes values with probabilities \dfrac{1}{15}$$\dfrac{2}{15}$$\dfrac{3}{15}$$\dfrac{4}{15}$$\dfrac{5}{15} respectively. Find and .
Solution:
IT-2: Dispersion and Inequalities (with Inequalities)
Question:
A set of 50 numbers has mean and standard deviation . Using Chebyshev”s inequality (or empirical reasoning), at least what percentage of the data lies within 2 standard deviations of the mean?
Solution:
Within 2 standard deviations: .
By Chebyshev’s inequality, at least of data lies within standard deviations.
If the data is approximately normally distributed, the empirical rule gives approximately But Chebyshev gives the guaranteed minimum of .
IT-3: Dispersion and Combinatorics (with Combinatorics)
Question:
All possible samples of size 2 are drawn with replacement from the population . Find the mean and variance of the sampling distribution of the sample mean.
Solution:
Population: \\{2, 4, 6\\}$$\mu = 4$$\sigma^2 = \dfrac{(4+0+4)}{3} = \dfrac{8}{3}.
All samples of size 2 with replacement (9 samples):
.
Sample means: .
Mean of sample means: .
Variance of sample means:
.
This confirms: and .
Worked Examples
WE-1: Effect of Adding a Constant to All Data
Question:
A set of 5 numbers has mean and standard deviation . If is added to each number, find the new mean, new standard deviation, and new variance.
Solution:
Transformation: (i.e. a = 1$$b = 7).
New mean .
New standard deviation .
New variance .
The additive constant shifts the data but does not affect the spread.
WE-2: Standard Deviation from a Frequency Distribution
Question:
Find the mean and standard deviation of the following data:
| 2 | 4 | 6 | 8 | 10 | |
|---|---|---|---|---|---|
| 3 | 5 | 8 | 4 | 2 |
Solution:
| 2 | 3 | 6 | 12 |
| 4 | 5 | 20 | 80 |
| 6 | 8 | 48 | 288 |
| 8 | 4 | 32 | 256 |
| 10 | 2 | 20 | 200 |
| Total | 22 | 126 | 836 |
DSE Exam Technique: Always set up the table with columns for and . This earns method marks even if there is a minor calculation error. Leave standard deviation in exact form unless asked for a decimal.
WE-3: Coding with Grouped Data
Question:
Using the coding The coded data has mean and variance . Find the mean and standard deviation of the original data.
Solution:
The coding is So and .
Original mean: .
Original standard deviation: .
WE-4: Interquartile Range from Raw Data
Question:
Find the median, quartiles, and interquartile range of the data set:
Solution:
There are data values (odd).
Median position: . Median .
Lower half: (5 values).
position: . .
Upper half: (5 values).
position: . .
WE-5: Comparing Distributions Using Standard Deviation
Question:
Class A has test scores with mean and standard deviation . Class B has test scores with mean and standard deviation . Which class has more consistent performance? Justify your answer.
Solution:
The coefficient of variation (CV) measures relative dispersion:
Since Class A has more consistent performance.
Alternatively, comparing standard deviations directly: Class A has and Class B has . The smaller standard deviation of Class A indicates less variability, i.e. More consistency.
WE-6: Removing an Outlier
Question:
A data set is . The value is suspected to be an outlier.
(a) Calculate the mean and standard deviation of all 7 values. (b) Calculate the mean and standard deviation after removing . (c) Comment on the effect of the outlier.
Solution:
(a) Sum = 113$$\bar{x} = \dfrac{113}{7} \approx 16.14.
.
.
.
(b) After removing : sum = 68$$n = 6$$\bar{x} = \dfrac{68}{6} = \dfrac{34}{3} \approx 11.33.
\sum x^2 = 882$$\sigma^2 = \dfrac{882}{6} - \left(\dfrac{34}{3}\right)^2 = 147 - 128.44 = 18.56.
.
(c) The outlier significantly increases both the mean (from to ) and the standard deviation (from to ). The standard deviation is nearly tripled, showing that outliers have an exaggerated effect on measures of dispersion.
WE-7: Using a Given Mean to Find Missing Frequency
Question:
The mean of the following data is . Find the value of .
| 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|
| 2 | 4 | 6 | 3 | 1 |
Solution:
Total frequency: .
Sum: .
Since must be a non-negative integer, and is not an integer, there is no integer value of that gives a mean of exactly . If the question allows non-integer frequencies, .
WE-8: Sheppard’s Correction (Awareness)
Question:
For grouped data with class width State Sheppard’s correction for the variance and explain when it is appropriate to use it.
Solution:
Sheppard’s correction adjusts the grouped data variance:
This correction is appropriate when:
- The data is approximately normally distributed.
- The distribution is continuous.
- The class intervals are of equal width.
It accounts for the fact that using midpoints assumes data is concentrated at the centre of each class, which slightly overestimates the variance.
In DSE examinations, Sheppard’s correction is generally not required unless explicitly asked.
Common Pitfalls
Confusing population variance with sample variance. The population variance formula divides by While the sample variance divides by (Bessel’s correction). In DSE Maths, unless specified otherwise, use the population formula (divide by ).
Forgetting that variance has squared units. If data is in centimetres, the variance is in cm and the standard deviation is in cm. Do not mix up units when writing conclusions.
Incorrectly applying coding formulas. For the transformation : new mean New SD . The additive constant does NOT affect the standard deviation. A common error is writing new SD .
Using the wrong formula for combined variance. When combining two data sets, do not average the variances. Use the correct formula involving the deviation of each set’s mean from the combined mean.
Misidentifying quartile positions. Different textbooks use different conventions for finding and . In DSE, the most common approach is: is the median of the lower half and is the median of the upper half.
DSE Exam-Style Questions
DSE-1
The following table shows the distribution of marks obtained by 40 students in a test.
| Marks | — | — | — | — | — |
|---|---|---|---|---|---|
| Frequency | 3 | 8 | 14 | 10 | 5 |
(a) Estimate the mean mark. (3 marks) (b) Estimate the standard deviation of the marks. (3 marks) (c) If a student scored 35 marks, find the student’s standardised score (z-score). (2 marks)
Solution:
(a) Midpoints: .
| 5.5 | 3 | 16.5 | 90.75 |
| 15.5 | 8 | 124 | 1922 |
| 25.5 | 14 | 357 | 9103.5 |
| 35.5 | 10 | 355 | 12602.5 |
| 45.5 | 5 | 227.5 | 10351.25 |
| Total | 40 | 1080 | 34070 |
(b) .
.
(c) .
The student scored standard deviations above the mean.
DSE-2
The weights (in kg) of 8 parcels are: .
(a) Find the mean and standard deviation. (4 marks) (b) If each parcel has a label weighing kg added, find the new mean and new standard deviation. (2 marks) (c) If the weight of each parcel is converted to grams, find the new mean and new variance. (2 marks)
Solution:
(a) Sum = 29.5$$\bar{x} = \dfrac{29.5}{8} = 3.6875.
.
.
kg.
(b) Transformation: .
New mean kg.
New SD kg (unchanged by addition).
(c) Transformation: .
New mean g.
New variance g.
DSE-3
Two classes took the same examination. Class (30 students) had mean and variance . Class (20 students) had mean and variance .
(a) Find the overall mean of all 50 students. (2 marks) (b) Find the overall variance of all 50 students. (4 marks)
Solution:
(a) Combined mean .
(b) d_A = 72 - 69.2 = 2.8$$d_B = 65 - 69.2 = -4.2.
DSE-4
The box-and-whisker diagram below summarises the daily temperatures (in C) recorded in a city for 30 days:
Minimum = 12$$Q_1 = 18Median = 22$$Q_3 = 28Maximum .
(a) Find the interquartile range. (1 mark) (b) Determine the lower and upper fences and identify any outliers. (3 marks) (c) What percentage of the data lies between and ? (1 mark)
Solution:
(a) .
(b) Lower fence .
Upper fence .
Since all values ( to ) lie within There are no outliers.
(c) By definition, of the data lies between and .
DSE-5
A set of data has mean and standard deviation . A new data set is formed by removing the value from the original set.
(a) Find the mean of the new data set. (2 marks) (b) Find the variance of the new data set in terms of and . (4 marks)
Solution:
(a) Original sum . After removing : new sum .
New mean .
(b) Original .
After removing : .
New variance .