Descriptive Statistics Notes Final
Descriptive Statistics Notes Final
Descriptive Statistics
Lecture Notes — Quantitative Methods
Botho University — Prepared for Student Use
Contents
2 Frequency Distributions 6
2.1 Constructing a Frequency Table . . . . . . . . . . . . . . . . . . . . . . 6
2.1.1 Class Limits, Class Boundaries, and Midpoints . . . . . . . . . . 6
2.2 Relative and Cumulative Frequency . . . . . . . . . . . . . . . . . . . . 7
End-of-Chapter Exercises — Section 2 . . . . . . . . . . . . . . . . . . . . . 8
5 Data Visualisation 23
5.1 Histograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.2 Box Plots (Box-and-Whisker) . . . . . . . . . . . . . . . . . . . . . . . 24
1
Descriptive Statistics — Lecture Notes Botho University
6 Shape of Distributions 30
6.1 Skewness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6.2 Kurtosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
End-of-Chapter Exercises — Section 6 . . . . . . . . . . . . . . . . . . . . . 32
10 Practice Examination 45
Learning Outcomes 48
2
Descriptive Statistics — Lecture Notes Botho University
3
Descriptive Statistics — Lecture Notes Botho University
• Inferential: Based on this sample, we estimate the mean age of all patients
admitted to this hospital is between 45.1 and 49.5 years (95% confidence
interval).
4
Descriptive Statistics — Lecture Notes Botho University
Exercise 1.2. For each variable below, identify the level of measurement (Nom-
inal, Ordinal, Interval, or Ratio) and justify your choice.
(a) The year a student was born.
(b) A patient’s blood pressure (mmHg).
(c) Military rank (Private, Corporal, Sergeant, . . . ).
(d) Country of birth.
(e) Daily maximum temperature recorded in Gaborone (°C).
(f) Distance driven (km) during a delivery route.
5
Descriptive Statistics — Lecture Notes Botho University
Exercise 1.4 (Discussion). A company reports that the “average” annual bonus
paid to employees was BWP 12,000. The CEO received a bonus of BWP 500,000.
(a) Which branch of statistics — descriptive or inferential — does this statement
involve?
(b) Explain why the mean may be a misleading summary here.
(c) What alternative measure would better represent the “typical” employee
bonus?
2 Frequency Distributions
6
Descriptive Statistics — Lecture Notes Botho University
Class boundaries eliminate gaps between classes for continuous data. The midpoint
is used to represent all values within a class when computing the grouped mean and
other statistics.
Common mistakes when constructing frequency tables:
• Overlapping classes — e.g. 40–50 and 50–60 leave ambiguity about where
50 belongs. Use 40–49 and 50–59 for discrete data, or use strict inequalities
(40 ≤ x < 50) for continuous data.
• Unequal class widths — unless justified (e.g. open-ended classes), all widths
should be equal to allow fair visual comparison in histograms.
• Too few or too many classes — fewer than 5 classes lose detail; more than
15 make the table hard to interpret.
• Not tallying carefully — always recount to ensure
P
fi = n.
fi
Relative frequency: rfi = (1)
n
j
X
Cumulative frequency: cfj = fi (2)
i=1
j
X
Cumulative relative frequency: crfj = rfi (3)
i=1
Class Midpoint Freq f Rel Freq rf Cum Freq cf Cum Rel Freq
Total 20 1.00
Interpretations:
7
Descriptive Statistics — Lecture Notes Botho University
• 85% of students scored below 85 (cf = 17 at the end of the 75–84 class).
• The distribution is roughly symmetric, peaking in the 65–74 and 75–84
classes.
• Only 5% of students scored 95 or above.
Class (BWP) Midpoint Freq f Rel Freq Cum Freq Cum Rel Freq
Total 25 1.00
Interpretations:
• 40% of students spend less than BWP 570 per month.
• The modal class is 570–629 (highest frequency of 8).
• The distribution appears slightly right-skewed, with fewer students in the
high-expenditure classes.
8
Descriptive Statistics — Lecture Notes Botho University
(b) Construct a complete frequency distribution table with relative and cumu-
lative frequencies.
(c) What percentage of employees are younger than 40?
(d) Identify the modal class.
Exercise 2.2. The table below shows the distribution of monthly data usage
(GB) for 50 mobile subscribers.
(a) Complete the relative frequency and cumulative relative frequency columns.
(b) What proportion of subscribers use between 5 and 14 GB?
(c) What is the minimum data usage above which only 12% of subscribers fall?
(d) Sketch a rough histogram for this distribution and describe its shape.
Exercise 2.3. A lecturer records the following scores out of 50 for a class test (n
= 30):
18, 22, 35, 41, 29, 38, 45, 27, 33, 48,
20, 36, 42, 30, 25, 39, 47, 28, 34, 40,
23, 37, 43, 31, 26, 32, 46, 21, 44, 38
(a) Using 6 classes of equal width, construct the frequency distribution.
(b) Calculate the relative frequency for each class.
(c) What percentage of students scored 35 or above?
(d) Compare your modal class with the actual mode. Do they agree? Explain
any discrepancy.
9
Descriptive Statistics — Lecture Notes Botho University
PN Pn
i=1 xi i=1 xi
Population mean: µ = Sample mean: x̄ = (4)
N n
Pn
Property 3.1. The sum of deviations from the mean is always zero: i=1 (xi − x̄) = 0.
Weaknesses: The mean is sensitive to outliers (extreme values). A single large value
can substantially raise or lower x̄.
120 + 145 + 98 + 200 + 155 + 145 + 175 + 130 + 145 + 188 1501
x̄ = = = 150.1 BWP
10 10
The median is robust — not affected by outliers. Preferred for skewed distributions
(income, house prices).
10
Descriptive Statistics — Lecture Notes Botho University
d1
Mode ≈ L + ×w (7)
d1 + d 2
where L = lower boundary of the modal class, d1 = difference between the modal
class frequency and the frequency of the class before it, d2 = difference between
the modal class frequency and the frequency of the class after it, and w = class
width.
11
Descriptive Statistics — Lecture Notes Botho University
The modal class is 65–74 (tied with 75–84, but 65–74 comes first). Using L = 65,
d1 = 6 − 3 = 3, d2 = 6 − 6 = 0, w = 10:
3
Mode ≈ 65 + × 10 = 65 + 10 = 75
3+0
Note: When two classes tie for highest frequency (as here), the convention is
to select the first modal class. The result suggests the estimated mode lies at
approximately 75 — at the upper end of the first modal class, being “pulled”
toward the equally frequent adjacent class.
2(49.5) + 3(59.5) + 6(69.5) + 6(79.5) + 2(89.5) + 1(99.5) 99 + 178.5 + 417 + 477 + 179 + 99
x̄ ≈ =
20 20
The estimated mean is 72.5. This is an approximation — the actual mean (from
the raw data) is 72.9 — showing the midpoint method introduces only a small
error.
12
Descriptive Statistics — Lecture Notes Botho University
The mansion (BWP 850k) pulls the mean up by BWP 66k above the median.
The median is the better representation of the “typical” house price. This is a
right-skewed distribution: Mean > Median.
13
Descriptive Statistics — Lecture Notes Botho University
• Mean (14.33) > Median (12) > Mode (12): right-skewed distribution.
• The outlier salary of BWP 42,000 inflates the mean by over BWP 2,000.
• The median (BWP 12,000) most accurately represents the typical em-
ployee’s salary.
• This pattern is common in wage data: a few high earners pull the mean far
above what most workers earn.
Exercise 3.2. The grouped frequency table below shows the weekly study hours
of 40 university students.
(a) Use the midpoint method to estimate the mean study hours.
(b) Use interpolation to find the median study hours.
(c) Identify the modal class.
(d) The university recommends a minimum of 12 study hours per week. Esti-
mate the percentage of students meeting this minimum.
14
Descriptive Statistics — Lecture Notes Botho University
Exercise 3.4. The mean salary of 8 analysts at a firm is BWP 18,500 per month.
A new analyst joins with a salary of BWP 22,000.
(a) What is the new mean salary of all 9 analysts?
(b) If instead the new hire’s salary was BWP 14,000, what would the new mean
be?
(c) A department has 5 male employees with a mean salary of BWP 16,000
and 3 female employees with a mean salary of BWP 19,500. What is the
combined mean salary for the department?
Exercise 3.5 (Challenge). For a dataset of n values, state whether each claim
is always true, sometimes true, or never true, and justify with an example.
(a) Removing the largest value will always decrease the mean.
(b) The median can never be greater than the mean.
(c) A dataset can have more than one mode.
(d) If x̄ = Median, the distribution is perfectly symmetric.
Measures of central tendency alone are insufficient — two datasets can share the same
mean but differ vastly in spread.
15
Descriptive Statistics — Lecture Notes Botho University
16
Descriptive Statistics — Lecture Notes Botho University
Interpretation: 80% of values in this dataset fall below 24, and 90% fall below
28.
IQR = Q3 − Q1 = 22.5 − 11 = 11.5.
Lower fence = 11 − 1.5(11.5) = −6.25; upper fence = 22.5 + 1.5(11.5) = 39.75.
All values lie within [−6.25, 39.75] ⇒ no outliers.
PN
2 i=1 (xi − µ)2
Population variance: σ = (12)
N
Pn
2 i=1 (xi− x̄)2
Sample variance: s = (13)
n−1
xi )2
P
x2i − (
P
2 n
Computational shortcut: s = (14)
n−1
2+4+4+4+5+5+7+9 40
x̄ = = =5
8 8
xi xi − x̄ (xi − x̄)2
2 −3 9
4 −1 1
4 −1 1
4 −1 1
5 0 0
5 0 0
7 +2 4
9 +4 16
Total 0 32
17
Descriptive Statistics — Lecture Notes Botho University
32 32 32
s2 = = ≈ 4.57 σ2 = = 4.00
8−1 7 8
P
Note: (xi − x̄) = 0 confirms the calculation is correct.
The standard deviation has the same units as the original data, making it directly
interpretable.
The z-score measures how many standard deviations x is from the mean. z > 0: above
mean; z < 0: below mean.
18
Descriptive Statistics — Lecture Notes Botho University
ȳ = a + b x̄ (18)
sy = |b| · sx (19)
s2y = b2 · s2x (20)
19
Descriptive Statistics — Lecture Notes Botho University
F̄ = 32 + 1.8(25) = 32 + 45 = 77°F
sF = 1.8 × 4 = 7.2°F
20
Descriptive Statistics — Lecture Notes Botho University
xi xi − x̄ (xi − x̄)2
0 −43 1849
3 −40 1600
5 −38 1444
8 −35 1225
12 −31 961
42 −1 1
60 +17 289
85 +42 1764
95 +52 2704
120 +77 5929
Total 0 17766
17766
s2 = ≈ 1974 mm2 s ≈ 44.4 mm
9
Step 4 — CV:
44.4
CV = × 100 ≈ 103%
43
A CV above 100% confirms that this rainfall data is extremely variable relative
to its mean — a feature common in arid climates where rainfall is concentrated
in short, intense wet seasons.
21
Descriptive Statistics — Lecture Notes Botho University
(b) Another student scored 48. Calculate and interpret his z-score.
(c) Using the Empirical Rule, between what two scores do approximately 95%
of students fall?
(d) What score corresponds to a z-score of −2.5?
(e) Two students, Thabo and Kefilwe, take different modules. Thabo scores 72
in Finance (x̄ = 65, s = 10) and Kefilwe scores 80 in Marketing (x̄ = 75,
s = 8). Who performed better relative to their class? Show your working.
3, 7, 7, 9, 10, 12, 15
(xi −x̄)2
P
Verify your answer using the definition formula s2 = n−1
.
22
Descriptive Statistics — Lecture Notes Botho University
5 Data Visualisation
5.1 Histograms
A histogram displays the frequency (or relative frequency) of continuous data within
class intervals. Key features:
• Bars are adjacent (no gaps) — reflects continuous data.
• Bar height = frequency (or relative frequency); bar width = class width.
• The shape of the histogram reveals the distribution: symmetric, right-skewed,
left-skewed, bimodal, or uniform.
23
Descriptive Statistics — Lecture Notes Botho University
6
Frequency
4
0
45 55 65 75 85 95
Score
The histogram shows a roughly symmetric distribution peaking in the 65–84 range,
with light tails on both sides.
Min Q1 Q3 Max
24
Descriptive Statistics — Lecture Notes Botho University
25
Descriptive Statistics — Lecture Notes Botho University
26
Descriptive Statistics — Lecture Notes Botho University
20
Cumulative Frequency
19
17
15
11 n/2 = 10
10
5
2
0
≈ 74.5
.5
.5
.5
.5
.5
.5
5
4.
44
54
64
74
84
94
10
Score (upper boundary)
Reading the graph: the cumulative frequency of 10 (i.e. n/2) corresponds to a score
of approximately 74.5, confirming the interpolated median of 73.3 from Example
3.3.
fi
θi = × 360 (21)
n
Best used for 3–6 categories only. Always label both name and percentage.
27
Descriptive Statistics — Lecture Notes Botho University
28
Descriptive Statistics — Lecture Notes Botho University
Exercise 5.2 (Box Plot Construction and Analysis). The marks (out of
100) scored by 15 students in a Statistics test are:
45, 52, 55, 58, 61, 64, 67, 70, 74, 78, 80, 83, 85, 90, 95
(a) Determine the five-number summary.
(b) Calculate the IQR and identify any outliers using the 1.5 × IQR rule.
(c) Sketch a box plot, clearly marking Q1 , Median, Q3 , whiskers, and any out-
liers.
(d) Describe what the box plot reveals about the spread and shape of the dis-
tribution.
Exercise 5.3 (Bar Chart vs Pie Chart). A survey of 200 Botho University
students asks which social media platform they use most frequently. The results
are:
WhatsApp: 90 Facebook: 50 Instagram: 35 TikTok: 15 Other: 10
(a) Calculate the relative frequency and pie chart angle for each category.
(b) Sketch a bar chart and a pie chart.
(c) Which chart communicates the data more clearly? In what scenario would
the other chart be preferred?
(d) If you added a sixth category “Twitter/X: 5” by moving 5 students from
“Other”, how would the pie chart angles change?
Exercise 5.4 (Choosing the Right Chart). For each dataset below, state
which chart type is most appropriate (histogram, bar chart, pie chart, box plot,
or ogive) and briefly justify your choice.
29
Descriptive Statistics — Lecture Notes Botho University
Exercise 5.5 (Ogive). The table below shows the frequency distribution of the
heights (cm) of 50 plants in a nursery.
6 Shape of Distributions
6.1 Skewness
Skewness measures the degree and direction of asymmetry in a distribution.
Interpretation:
• Sk ≈ 0: symmetric distribution
30
Descriptive Statistics — Lecture Notes Botho University
• Sk > 0: right (positive) skew — long tail to the right; Mean > Median > Mode
• Sk < 0: left (negative) skew — long tail to the left; Mean < Median < Mode
• |Sk| > 1 indicates strong skew; |Sk| < 0.5 is approximately symmetric
Mode Mean=Med=Mode
Mode
Med
Med
Mean
Mean
6.2 Kurtosis
Kurtosis measures the peakedness of a distribution and the weight of its tails,
relative to the normal distribution (kurtosis = 3).
Excess kurtosis = κ − 3
1 PN 4
i=1 (xi − µ)
κ= N (23)
σ4
In practice, most statistical software reports excess kurtosis (kurtosis − 3), so that a
normal distribution has excess kurtosis = 0. A positive excess kurtosis means heavier
tails than the normal; a negative excess kurtosis means lighter tails.
31
Descriptive Statistics — Lecture Notes Botho University
32
Descriptive Statistics — Lecture Notes Botho University
Q2–Q3. 30 students: 8 scored in the 40s, 10 in the 50s, 7 in the 60s, 3 in the
70s, 2 in the 80s.
33
Descriptive Statistics — Lecture Notes Botho University
Frequency Table:
8(44.5) + 10(54.5) + 7(64.5) + 3(74.5) + 2(84.5) 356 + 545 + 451.5 + 223.5 + 169 1745
x̄ ≈ = = ≈
30 30 30
34
Descriptive Statistics — Lecture Notes Botho University
Q7. CV comparison:
3 7
CVA = × 100 = 25% CVB = × 100 = 35%
12 20
Fund A is relatively more consistent (lower CV per unit of return).
These exercises integrate concepts from all sections. They are suitable for exam revi-
sion.
Review Exercise 1 (Comprehensive).
The table below shows the distribution of the number of hours per week that 60
adults in Gaborone spend on physical exercise.
35
Descriptive Statistics — Lecture Notes Botho University
0–1 10 10
2–3 18 28
4–5 20 48
6–7 8 56
8–9 4 60
(a) Estimate the mean number of exercise hours using the midpoint method.
(b) Use interpolation to find the median.
(c) Identify the modal class. Estimate the mode.
(d) Calculate the relative frequency for each class.
(e) Based on your answers to (a)–(c), describe the shape of the distribution.
(f) Calculate Pearson’s skewness coefficient. Does it confirm your shape de-
scription?
(g) A health authority states that adults should exercise at least 4 hours per
week. What percentage of this sample meets the target?
36
Descriptive Statistics — Lecture Notes Botho University
(a) Mean (b) Median (c) Mode (d) All three are appropriate
2. A dataset has variance s2 = 64. Its standard deviation is:
(a) 64 (b) 32 (c) 8 (d) 4,096
3. Two distributions have the same mean and standard deviation but different
kurtosis. This means:
(a) They are identical distributions
(b) They differ in the weight of their tails
(c) One is skewed and one is not
(d) They have different ranges
4. In a right-skewed distribution, which ordering is correct?
(a) Mode > Median > Mean
(b) Mean > Median > Mode
(c) Median > Mean > Mode
(d) Mean = Median = Mode
5. The coefficient of variation is most useful when:
(a) Comparing the spread of datasets with the same units
(b) Comparing the spread of datasets with different units or very different
means
(c) The data contains outliers
(d) The distribution is symmetric
37
Descriptive Statistics — Lecture Notes Botho University
Solutions — Section 1
Exercise 1.1 — Solutions.
(a) Number of goals: Quantitative, discrete (countable whole numbers).
(b) Time in minutes: Quantitative, continuous (can take any value in a
range).
(c) Colour of car: Qualitative (category label, no numeric meaning).
(d) Monthly salary (BWP): Quantitative, continuous (any positive real value).
(e) Number of ATM transactions: Quantitative, discrete (countable whole
numbers).
(f) Satisfaction rating Poor/Fair/Good/Excellent: Qualitative (ordered cate-
gories with no fixed numeric gap).
38
Descriptive Statistics — Lecture Notes Botho University
(c) The median would better represent the typical employee’s bonus, as it is
not affected by the CEO’s extreme value.
Solutions — Section 2
Exercise 2.1 — Solution.
Sorted ages: 23, 23, 26, 27, 29, 30, 31, 31, 34, 37, 38, 39, 41, 44, 45, 48, 52, 55
√
(a) Range = 55 − 23 = 32. k ≈ 18 ≈ 4.2 → use 5 classes. Width = 32/5 =
6.4 → round up to 7 (or use width 10 for cleaner boundaries).
(b) Using width = 7, starting at 22:
(c) Employees younger than 40: the class 36–42 contains employees up to age
42, so we count all in classes up to 36–42 who are below 40. From the raw
sorted data, ages below 40 are: 23,23,26,27,29,30,31,31,34,37,38,39 — that is 12
employees. 12/18 × 100 = 66.7%.
(d) Modal class: 29–35 (frequency 5, the highest).
(d) The histogram peaks in the 10–14 GB class, with fewer subscribers at both
extremes. Shape: approximately symmetric, slightly right-skewed (the 20–24
class is smaller than the 0–4 class).
Solutions — Section 3
39
Descriptive Statistics — Lecture Notes Botho University
40
Descriptive Statistics — Lecture Notes Botho University
Solutions — Section 4
Exercise 4.1 — Solution.
Branch A (sorted): 4, 5, 5, 6, 6, 7, 7, 8, 8, 9. x̄A = 65/10 = 6.5.
Q1 = 5, Q3 = 8, IQRA = 3. Fences: [0.5, 12.5]. No outliers.
(x − x̄)2 = (4 − 6.5)2 + · · · + (9 − 6.5)2 = 6.25 + 2.25 + 2.25 + 0.25 + 0.25 +
P
0.25 + 0.25 + 2.25 + 2.25 + 6.25 = 22.5
s2A = 22.5/9 = 2.5, sA ≈ 1.58, CVA = (1.58/6.5) × 100 = 24.3%.
Branch B (sorted): 1, 2, 2, 3, 4, 6, 9, 10, 11, 12. x̄B = 60/10 = 6.0.
Q1 = 2, Q3 = 10, IQRB = 8. Fences: [−10, 22]. No outliers.
(x − 6)2 = 25 + 16 + 16 + 9 + 4 + 0 + 9 + 16 + 25 + 36 = 156
P
s2B = 156/9 ≈ 17.33, sB ≈ 4.16, CVB = (4.16/6.0) × 100 = 69.3%.
(d) Branch A is more consistent: lower SD (1.58 vs 4.16), lower IQR (3 vs 8),
and much lower CV (24.3% vs 69.3%). Both means are similar, but Branch B’s
service times vary wildly from 1 to 12 minutes.
41
Descriptive Statistics — Lecture Notes Botho University
81.
(d) x = x̄ + z · s = 63 + (−2.5)(9) = 63 − 22.5 = 40.5.
(e) Thabo: z = (72 − 65)/10 = 0.70. Kefilwe: z = (80 − 75)/8 = 0.625. Thabo
has a higher z-score, so he performed better relative to his class.
√
s= 15 ≈ 3.87.
42
Descriptive Statistics — Lecture Notes Botho University
(b) IQR = 216 − 131 = 85. Fences: [131 − 127.5, 216 + 127.5] = [−96.5, 343.5].
All values within range ⇒ no outliers.
(c) P30 : L = 0.30 × 16 = 4.8 → round up to 5. P30 = x5 = 134.
P70 : L = 0.70 × 16 = 11.2 → round up to 12. P70 = x12 = 208.
P90 : L = 0.90 × 16 = 14.4 → round up to 15. P90 = x15 = 260.
(d) P90 = BWP 260 means that 90% of the sampled households pay less than
BWP 260 per month for electricity, and only 10% pay more.
(e) The middle 50% of bills fall between Q1 = BWP 131 and Q3 = BWP 216.
This range is the interquartile range (IQR).
Solutions — Section 5
Exercise 5.0 — Solution (Stem-and-Leaf ).
Sorted ages: 23, 28, 29, 31, 33, 34, 36, 38, 42, 44, 45, 47, 48, 51, 52, 55, 61, 67
(a)
Stem Leaves
2 389
3 13468
4 24578
5 125
6 17
(b) n = 18. Median = average of 9th and 10th values = (42 + 44)/2 = 43.
Q1 = median of lower 9: 4th value = 34.
Q3 = median of upper 9: 14th value = 52 (counting from the 10th observation
up: 44,45,47,48,51,52,55,61,67 — 6th of these = 52).
(c) The distribution is approximately symmetric to mildly right-skewed. The
30s and 40s rows each have 5 leaves; the tails at 20s (3 leaves) and 50s–60s (5
leaves) are roughly balanced.
(d) Back-to-back plot:
Group 1 (right to left) Stem Group 2
1 9
9 8 3 2 5
864 3 1 3 058
875 4 2 4 2
5 2 1 5 08
7 1 6 3
7 1
Group 2 has a wider age range (19–71) with participants at both younger and
older extremes. Group 1 is more concentrated in the 30s–50s. Group 2’s median
appears lower (around 40) vs Group 1’s median of 43.
43
Descriptive Statistics — Lecture Notes Botho University
Solutions — Section 6
Exercise 6.1 — Solution.
(a) Sk = 3(45 − 50)/15 = 3(−5)/15 = −1.0. Strong left (negative) skew —
the long tail extends to the left.
(b)
• {2, 3, 3, 4, 4, 4, 5, 5, 6}: mode=4, data balanced on either side. Approxi-
mately symmetric.
• {10, 11, 12, 12, 13, 13, 13, 14, 50}: the value 50 is a high outlier pulling the
mean right. Right-skewed.
• {1, 8, 9, 9, 10, 10, 10, 11, 12}: the value 1 is a low outlier pulling the mean
left. Left-skewed.
(c) Firm X: Sk = 3(55 − 48)/20 = 21/20 = +1.05 (strong positive/right skew —
a few very high earners).
Firm Y: Sk = 3(55 − 58)/14 = −9/14 = −0.64 (moderate negative/left skew —
a few low earners drag the mean below the median).
Both firms have the same mean salary but opposite skew: Firm X’s distribution
is pulled up by high earners; Firm Y’s is pulled down by low earners.
44
Descriptive Statistics — Lecture Notes Botho University
10 Practice Examination
45
Descriptive Statistics — Lecture Notes Botho University
13, 25, 8, 21, 15, 9, 17, 23, 11, 6, 20, 14, 28, 10, 16
(a) Determine a suitable number of classes and class width. Construct a com-
plete frequency distribution table showing: class intervals, midpoints, frequency,
relative frequency, cumulative frequency, and cumulative relative frequency. [8]
(b) Construct a histogram for the data. Label both axes clearly. [4]
(c) Construct a stem-and-leaf plot for the data. [4]
(d) Compute the cumulative frequencies and draw an ogive. Use your ogive to
estimate the median and the 75th percentile. [5]
(e) Based on your histogram, describe the shape of the distribution. [4]
46
Descriptive Statistics — Lecture Notes Botho University
(i) Compare the relative variability of the two call centres using the CV. Which
centre is more consistent? [3]
(ii) An agent at the competing centre resolved a query in 5 minutes. Calculate
and interpret her z-score. [3]
(iii) Using the Empirical Rule, between what two times do approximately 95%
of the competing centre’s resolution times fall? State any assumption you
are making. [3]
47
Descriptive Statistics — Lecture Notes Botho University
Measure Formula
P
xi
Sample mean x̄ =
n
P
wi xi
Weighted mean x̄w = P
P wi
fi mi
Mean from grouped data x̄ ≈
n
n/2 − cf
Median (grouped) M =L+ ×w
f
d1
Mode (grouped) Mode ≈ L + ×w
d1 + d 2
Range R = Max − Min
IQR IQR = Q3 − Q1
(xi − x̄)2
P
2
Sample variance s =
P n2− 1 P 2
xi − ( xi ) /n
Shortcut variance s2 =
n−1
√
Standard deviation s = s2
x − x̄
Z-score z=
s
s
Coefficient of variation CV = × 100%
x̄
Linear transformation ȳ = a + bx̄; sy = |b| · sx
3(x̄ − Median)
Pearson’s skewness Sk =
1
P s 4
(xi − µ)
Kurtosis (population) κ= N
σ4
Outlier fences Q1 − 1.5 × IQR ; Q3 + 1.5 × IQR
Learning Outcomes
48
Descriptive Statistics — Lecture Notes Botho University
49