Descriptive Statistics
Senior 4 · Basic Mathematics
Descriptive Statistics
Lesson 1 of 5
25 min
From 16 to 30 August 2022 the National Institute of Statistics of Rwanda (NISR) carried out the Fifth Population and Housing Census, which counted 13 246 394 residents. Its main report lists the population of each of the 30 districts, from 318 126 in Nyaruguru to 879 505 in Gasabo (NISR, RPHC5 Main Indicators Report, Table 1). Thirty numbers are already too many to take in at a glance. How many districts have fewer than 400 000 people? Is a district of half a million unusual? To answer, statisticians first organise data, and this lesson shows how.

Definition
Statistics: the science of collecting, organising, presenting, analysing and interpreting data. Descriptive statistics summarises the data you have with tables, graphs and numbers such as averages.
Population: the whole group being studied. Sample: a part of the population chosen to represent it. A census collects data from every member of the population; a sample survey collects it from a sample.
Variable: a characteristic that can take different values, such as age or district. Observation (datum): one recorded value of a variable.
Definition
Primary data: collected first-hand for the purpose at hand (your own questionnaire). Secondary data: collected by someone else and reused (the NISR census tables).
Frequency : the number of times a value, or a value in a class, occurs. Relative frequency: , where . Cumulative frequency: the running total of the frequencies up to and including a value or class.
A frequency distribution lists each value (or class of values) with its frequency. For data with few different values, list every value: an ungrouped table. For data with many different values, such as district populations, group the values into classes: a grouped table.
| Term | Meaning | For the class 40–49 of whole-number marks |
|---|---|---|
| Class limits | The smallest and largest values that can be written in the class | 40 and 49 |
| Class boundaries | Halfway between one class's upper limit and the next class's lower limit, so classes touch without gaps | 39.5 and 49.5 |
| Class width | Upper boundary minus lower boundary | |
| Midpoint (class mark) | , the value that represents the class |
Choose 5 to 10 classes of equal width where possible, with no gaps or overlaps, so that every observation belongs to exactly one class.
Tip
Ask "can it be counted or measured?" If the answer is a word or a label, the data are qualitative. If it is a count (you can say "how many"), it is discrete. If it is a measurement (you can say "how much" or "how long", and a finer instrument would give more decimals), it is continuous.
Worked example 1: an ungrouped table
A survey records the number of people in 20 households in a village: 4, 3, 5, 2, 4, 1, 3, 4, 6, 3, 2, 4, 5, 7, 3, 4, 2, 6, 1, 5. (Illustrative data.) Make a frequency table with relative and cumulative frequencies.
| Household size | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Total |
|---|---|---|---|---|---|---|---|---|
| Frequency | 2 | 3 | 4 | 5 | 3 | 2 | 1 | 20 |
| Relative frequency | 0.10 | 0.15 | 0.20 | 0.25 | 0.15 | 0.10 | 0.05 | 1.00 |
| Cumulative frequency | 2 | 5 | 9 | 14 | 17 | 19 | 20 |
Reading the table: the most common size is 4 (a quarter of households); 9 households, that is , have 3 people or fewer. The relative frequencies add up to 1, and the last cumulative frequency equals : two quick checks.
Worked example 2: a grouped table from the census
Group the populations of Rwanda's 30 districts (NISR, 2022) into classes of width 100 000, starting at 300 000.
| Population (thousands) | Districts | Relative frequency | Cumulative | Midpoint | |
|---|---|---|---|---|---|
| Nyaruguru, Nyabihu, Muhanga, Ruhango, Rulindo, Gakenke, Nyanza, Ngororero, Rutsiro, Nyamagabe, Karongi, Nyarugenge, Huye, Burera, Gisagara | 15 | 0.500 | 15 | 350 | |
| Ngoma, Nyamasheke, Gicumbi, Kamonyi, Kayonza, Kirehe, Musanze, Rwamagana, Rusizi, Kicukiro | 10 | 0.333 | 25 | 450 | |
| Rubavu, Bugesera, Gatsibo | 3 | 0.100 | 28 | 550 | |
| Nyagatare | 1 | 0.033 | 29 | 650 | |
| none | 0 | 0.000 | 29 | 750 | |
| Gasabo | 1 | 0.033 | 30 | 850 | |
| Total | 30 | 1.000 (rounded) |
Interpretation: half the districts have between 300 000 and 400 000 residents, and 25 of the 30 (83%) have fewer than 500 000. The distribution has a long tail to the right: a few large districts, led by Gasabo in Kigali. Because a district's population is a count, the data are discrete; with values this large we write classes as , treating them like continuous data.
Worked example 3: limits, boundaries, width and midpoints
The marks of a class in a test (whole numbers) are grouped as 30–39, 40–49, 50–59, 60–69, 70–79. Give the boundaries, width and midpoint of the class 60–69, and explain why boundaries are needed.
Boundaries: and . Width: . Midpoint: .
The limits 59 and 60 leave a gap; a mark of 59.6 (if halves were allowed) would belong nowhere. Boundaries close the gaps, and they are what you plot on the horizontal axis of a histogram in the next lesson.
Warning
Common mistakes. Overlapping classes such as 300–400 and 400–500 with no rule for 400: say . Using the class limits instead of the boundaries to find the width (49 − 40 = 9 is wrong; the width is 10). Calling data "discrete" because they are rounded: a time rounded to the nearest minute is still continuous.
Corbettmaths, "Discrete and Continuous Data". After watching, classify every variable in this lesson's examples, including a district's population and its land area.
Practice
Try each one before opening the answers. They get harder as you go.
Key points
Sources and credits
Quick check
Which of these variables is continuous?