Lesson 1 of 10, 11 min read

Data, frequency tables and graphs

Populations and samples, categorical and quantitative data, frequency and relative frequency tables, and choosing the right graph: bar graphs, pie charts, histograms, dot plots and stem-and-leaf plots.

Describing data

Statistics is the science of collecting, organizing and interpreting data. A few key words:

  • the population is the entire group you want to know about (all students at a school);
  • a sample is the part of the population you actually collect data from;
  • a variable is the characteristic you record.

A variable is categorical if its values are labels (favorite sport, eye color) and quantitative if its values are numbers you can do arithmetic with (height, number of pets).

Frequency tables

Twenty-five students were asked their favorite sport.

SportFrequencyRelative frequencyPercent
soccer\(10\)\(0.40\)\(40\%\)
basketball\(7\)\(0.28\)\(28\%\)
baseball\(5\)\(0.20\)\(20\%\)
other\(3\)\(0.12\)\(12\%\)
total\(25\)\(1.00\)\(100\%\)

Relative frequencies always add up to \(1\): a quick way to check your table.

For quantitative data you can also find the cumulative frequency: the number of observations at or below each value.

Choosing a graph

GraphBest for
bar graphcomparing categories
pie chartshowing parts of a whole
histogramquantitative data grouped into intervals (bars touch)
dot plotsmall quantitative data sets, one dot per value
stem-and-leaf plotsmall data sets, keeping every value visible
line graphchange over time

In a pie chart, each slice's angle is the relative frequency times \(360°\).

Practice

Quick check

Which variable is categorical?

Quick check

Which graph is best for showing how a city's population changed from 1950 to 2020?

Finished this lesson?

Mark it as completed and it's saved on this device. Sign up to see it everywhere.