STA 160 · Descriptive Statistics
Our notes
2 min readCharts make data easy to see at a glance. Every chart needs a title, labelled axes with units (or a key), and a sensible scale.
For qualitative or discrete data
- Bar chart: bars of equal width with gaps between them; heights show frequencies. Types: simple, component (stacked) and multiple (grouped) bar charts for comparing groups.
- Pie chart: a circle divided into sectors showing parts of a whole. Angle of a sector = (frequency / total) × 360°.
- Pictogram: pictures represent quantities (one symbol = 100 students); needs a key.
Worked example (pie chart). Of 40 students, 18 travel by bus, 12 walk and 10 take keke. Angles: bus 18/40 × 360° = 162°, walk 108°, keke 90° (total 360°).
For continuous (grouped) data
- Histogram: bars with no gaps, drawn on class boundaries. The area of each bar is proportional to the frequency. With equal class widths, heights = frequencies; with unequal widths, plot frequency density = frequency / class width.
- Frequency polygon: join the midpoints of the tops of the histogram bars (or plot frequency against midpoints), closing it at the midpoints of empty classes at each end.
- Ogive (cumulative frequency curve): plot cumulative frequency against upper class boundaries and join with a smooth curve (S-shaped). Read off:
- median at N/2,
- lower quartile Q₁ at N/4, upper quartile Q₃ at 3N/4,
- percentiles (the 90th percentile at 0.9N).
Other displays
- Line graph: shows change over time (time series: monthly rainfall, inflation rate).
- Stem-and-leaf plot: keeps the actual values: 34, 37, 41 → stem 3 | leaves 4 7; stem 4 | leaf 1.
- Box-and-whisker plot: shows the minimum, Q₁, median, Q₃ and maximum; good for comparing groups and spotting skewness and outliers.
- Scatter diagram: shows the relation between two variables (see correlation).
Choosing a chart
| Data | Best charts |
|---|---|
| categories (departments, transport modes) | bar chart, pie chart |
| parts of a whole | pie chart, component bar chart |
| continuous grouped data | histogram, frequency polygon, ogive |
| change over time | line graph |
| two numeric variables | scatter diagram |
Misleading charts to watch for
A y-axis not starting at zero (exaggerating small differences), 3-D effects that distort pie slices, missing scales, unequal pictogram sizes.
Exams usually ask: draw bar charts, pie charts (calculating angles), histograms (including unequal widths), frequency polygons and ogives; estimate the median and quartiles from an ogive; choose the right chart.
Common mistake: leaving gaps between histogram bars, or plotting an ogive against midpoints instead of upper class boundaries.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Introductory Statistics 2e, 2.1 Stem-and-Leaf Graphs (Stemplots), Line Graphs, and Bar Graphs
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.1 Stem-and-Leaf Graphs (Stemplots), Line Graphs, and Bar Graphs, CC BY-NC-SA 4.0 · licence
-
Introductory Statistics 2e, 2.2 Histograms, Frequency Polygons, and Time Series Graphs
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.2 Histograms, Frequency Polygons, and Time Series Graphs, CC BY-NC-SA 4.0 · licence
-
Histograms
(opens onlinestatbook.com in a new tab)
Online Statistics Education, Histograms (public domain)
Watch
-
Charts Are Like Pasta - Data Visualization Part 1: Crash Course Statistics #5
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Plots, Outliers, and Justin Timberlake: Data Visualization Part 2: Crash Course Statistics #6
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
StatQuest: Histograms, Clearly Explained
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
Practise
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.