SL 4.1 · Core Concepts
1. Populations, Samples, and Sampling Methods
A population is the entire group of individuals under consideration; a sample is a subset selected to represent the population. Reliable statistical inferences require minimizing selection bias.
- Simple Random Sampling: Every member of the population has an equal and independent chance of selection (e.g. using a random number generator). Free from bias, but can be impractical for large or geographically dispersed populations.
- Systematic Sampling: Selecting every $k^{\text{th}}$ individual from an ordered list after a random starting point between $1$ and $k$, where $k = \frac{N}{n}$. Simple to implement, but vulnerable to bias if periodic cycles exist in the population ordering.
- Stratified Sampling: The population is divided into mutually exclusive strata (e.g., age groups, grades), and random samples are drawn proportionally from each stratum: $$\text{Sample size from stratum } i = \frac{\text{Size of stratum } i}{N} \times n$$ Guarantees representation of all sub-groups.
- Quota Sampling: Stratified sampling without random selection; the researcher fills pre-set quotas using convenience. Prone to interviewer bias.
- Convenience Sampling: Selecting individuals who are readily available. Highly prone to severe selection bias and non-representative conclusions.
Worked Example 1.1 · Stratified Sample Sizing
A high school has $1200$ students: $420$ in Grade 9, $330$ in Grade 10, $270$ in Grade 11, and $180$ in Grade 12. A researcher intends to survey a stratified sample of $80$ students. Determine how many students should be sampled from each grade.
- Total population $N = 1200$, sample size $n = 80$. Sampling fraction $= \frac{80}{1200} = \frac{1}{15}$.
- Grade 9: $\frac{420}{15} = 28$ students.
- Grade 10: $\frac{330}{15} = 22$ students.
- Grade 11: $\frac{270}{15} = 18$ students.
- Grade 12: $\frac{180}{15} = 12$ students.
- Verify total: $28 + 22 + 18 + 12 = 80$.
Answer: 28 Grade 9, 22 Grade 10, 18 Grade 11, and 12 Grade 12 students.
SL 4.2 · Continuous Data
2. Histograms and Frequency Density
For grouped continuous data with unequal class intervals, the vertical axis of a histogram must represent frequency density, not raw frequency. The area of each bar is proportional to its frequency.
- Frequency Density Formula: $$\text{Frequency Density} = \frac{\text{Frequency}}{\text{Class Width}}$$
- Frequency as Area: $$\text{Frequency} = \text{Frequency Density} \times \text{Class Width} = \text{Area of bar}$$
- If class intervals are equal, the height can be directly proportional to raw frequency, but labeling the vertical axis as frequency density is always mathematically rigorous.
Worked Example 1.2 · Frequency from Unequal Intervals
In a histogram displaying commute times, a bar spans the interval $10 \le t < 25$ minutes with a frequency density of $1.6\text{ min}^{-1}$. An adjacent bar spans $25 \le t < 30$ minutes with a frequency of $15$. Calculate the frequency of the first class and the height of the second bar.
- For the first class $10 \le t < 25$: Class width $= 25 - 10 = 15$.
$\text{Frequency} = \text{Density} \times \text{Width} = 1.6 \times 15 = 24$. - For the second class $25 \le t < 30$: Class width $= 30 - 25 = 5$.
$\text{Frequency Density} = \frac{\text{Frequency}}{\text{Width}} = \frac{15}{5} = 3.0\text{ min}^{-1}$.
Answer: Frequency $= 24$; second bar height $= 3.0\text{ min}^{-1}$.
SL 4.2 · Visual Analytics
3. Cumulative Frequency Curves and Box Plots
A cumulative frequency curve (ogive) plots running totals against upper class boundaries. Projecting horizontal quartiles directly generates the 5-number summary and box-and-whisker plot.
- Plotting Rule: Points are plotted at the upper class boundary of each interval with cumulative frequency on the vertical axis. The curve begins at the lower boundary of the first interval with a cumulative frequency of $0$.
- Key Quartiles from $n$ Observations:
- Lower Quartile ($Q_1$): Cumulative frequency $= 0.25n$
- Median ($Q_2$): Cumulative frequency $= 0.50n$
- Upper Quartile ($Q_3$): Cumulative frequency $= 0.75n$
- Interquartile Range ($\text{IQR}$): $\text{IQR} = Q_3 - Q_1$
- Outlier Identification: An observation $x$ is an outlier if: $$x < Q_1 - 1.5 \times \text{IQR} \quad \text{or} \quad x > Q_3 + 1.5 \times \text{IQR}$$
Worked Example 1.3 · Stratified Sampling Allocation
A multinational company employs $1200$ workers across three divisions: $650$ in Operations, $350$ in Marketing, and $200$ in Research. A representative stratified sample of $180$ employees is to be surveyed.
(a) Calculate the number of employees that must be selected from each division. [3 marks]
(b) State one major advantage of using stratified sampling over simple random sampling in this scenario. [1 mark]
- Part (a): Proportional allocation formula $n_i = \frac{N_i}{N} \times n$: $$\text{Operations: } \frac{650}{1200} \times 180 = 97.5 \implies 98 \quad [M1][A1]$$ $$\text{Marketing: } \frac{350}{1200} \times 180 = 52.5 \implies 52 \quad [A1]$$ $$\text{Research: } \frac{200}{1200} \times 180 = 30 \quad [A1]$$ Check: $98 + 52 + 30 = 180$, satisfying the total sample requirement.
- Part (b): Advantage of stratified sampling: Stratified sampling guarantees that all subgroups, particularly smaller divisions like Research ($200$ workers), are proportionally represented without risk of omission [R1].
Answers: (a) Operations: $98$, Marketing: $52$, Research: $30$; (b) Guarantees proportional representation of all subgroups.
Worked Example 1.4 · Cumulative Frequency & Percentile Analysis
An examination is taken by $240$ students. From the cumulative frequency graph, the 60th percentile score is $68$ marks and the 85th percentile is $82$ marks.
(a) Find the number of students who scored between $68$ and $82$ marks. [3 marks]
(b) The top $10\%$ of candidates are awarded a Grade 7. Find the minimum mark required for a Grade 7. [2 marks]
- Part (a): Number of students between 60th and 85th percentiles: $$\text{Cumulative count at 60th percentile} = 0.60 \times 240 = 144 \quad [M1]$$ $$\text{Cumulative count at 85th percentile} = 0.85 \times 240 = 204 \quad [A1]$$ $$\text{Students in range} = 204 - 144 = 60 \text{ students} \quad [A1]$$
- Part (b): Grade 7 threshold (top 10% corresponds to 90th percentile): $$\text{Rank} = 0.90 \times 240 = 216\text{th student} \quad [M1]$$ Read the score corresponding to cumulative frequency $216$ from the graph [A1].
Answers: (a) $60$ students; (b) Score at cumulative frequency $216$.
Worked Example 1.5 · Boxplot Outlier Verification
A dataset has lower quartile $Q_1 = 42$ and upper quartile $Q_3 = 66$. The minimum value is $12$ and the maximum value is $105$.
(a) Determine whether $12$ is an outlier. [3 marks]
(b) Determine whether $105$ is an outlier. [2 marks]
- Part (a): Compute Interquartile Range and lower outlier boundary: $\text{IQR} = Q_3 - Q_1 = 66 - 42 = 24 \quad [M1]$ $\text{Lower fence} = Q_1 - 1.5 \times \text{IQR} = 42 - 1.5(24) = 42 - 36 = 6 \quad [A1]$ Since $12 > 6$, the value $12$ lies above the lower fence, so $12$ is not an outlier [R1][A1].
- Part (b): Compute upper outlier boundary: $\text{Upper fence} = Q_3 + 1.5 \times \text{IQR} = 66 + 1.5(24) = 66 + 36 = 102 \quad [M1]$ Since $105 > 102$, the data value $105$ lies beyond the upper fence and is confirmed as an outlier [R1][A1].
Answers: (a) $12 > 6$, not an outlier; (b) $105 > 102$, confirmed outlier.