Trend charts for paired data

趋势图

How do you plot paired data?

Each pair becomes a point; the plot shows whether the two quantities move together.

SkillKP004377

Sign in to read the whole lesson, with 1 interactive aid, 58 exercises

Sign in / Sign up

Mastery goals

  • Can plot paired data of two quantities as points in a coordinate plane
  • Can draw a straight line that lies as close as possible to all the points and use it to estimate or predict

Earlier we used line charts to show how a quantity that depends on time (such as a bookshop's yearly sales) develops. In real life we often have to study the relation between two quantities more generally, such as sales income and advertising spending, or students' mass and height. What chart describes such a relation?

Problem 2 To study how temperature affects the sale of cold drinks, a drinks shop kept records for a while and got a set of data on the number of cold drinks sold and the highest temperature of the day, as in the table.

  • Highest temperature (°C)12, 14, 16, 18, 20, 22, 24, 26, 28
  • Cold drinks sold48, 63, 74, 82, 98, 103, 118, 127, 143
The number of cold drinks sold and the highest temperature of the day.

Can you use a chart to describe the relation between the number of cold drinks sold in a day and the highest temperature of that day?

The table shows that as the highest temperature rises, the number of cold drinks sold roughly rises. To see the relation more clearly, let the horizontal axis show the highest temperature and the vertical axis the number of cold drinks, and plot the points for the pairs , , …, .

0501001505101520253035Cold drinks soldHighest temperature (°C)
Plot each pair of data as a point: the points lie roughly near a rising straight line.

Looking at how the scattered points are placed, we see that they lie roughly near a straight line that rises.

Summary

Collecting, organising and describing dataCollecting dataCensus: the whole population, complete and accurate, costlySampling survey: a sample only, saves time and effort; the sample must be representativeSimple random sampling: every individual has an equal chanceOrganising dataTally, frequency, percentageGrouping: class width, number of classes, frequency tableDescribing dataBar chart: compare sizes; pie chart: percentage of the totalLine chart: trend over time; compound charts compare two setsHistogram: continuous data in groupsTendency chart: relation of two quantities, for prediction
The structure of this chapter: collecting data (census, sampling survey), organising data (frequency tables), describing data (bar charts, pie charts, line charts, histograms, tendency charts).

To make sense of what is around us, we often collect data for a purpose, sort it and show it in charts and tables, pick out the useful information, and then make sensible inferences and predictions from it. Doing this helps us solve real problems and, bit by bit, builds the habit of letting data speak (a sense of data).

For collecting data, this chapter gave two methods: a census checks every member of the group studied, while a sampling survey checks only some. A sampling survey relies on a sample to infer the population, so the first thing to consider when planning one is whether the sample can stand for the population. The most basic and most used method is simple random sampling: every individual in the population has the same chance of being chosen.

Once data are put into charts and tables, their patterns and information are easier to see. Each kind of chart is good at something different, so choose by what the problem needs. Categorical data usually go in a bar chart or a pie chart: a bar chart draws how many are in each category as a bar, so the differences are clear at a glance; a pie chart draws each category's percentage of the total, so we see each category's share of the whole and how the categories compare. Data that change over time usually go in a line chart, which joins the values at different times so the rises and falls stand out. Continuous data sorted into groups go in a histogram, which shows how the data are spread overall. The relation between two quantities goes in a tendency chart, which lets us predict where one quantity is heading from how the other changes.

Review the chapter with these questions:

  1. What are a census and a sampling survey? What are the advantages and disadvantages of each? When should we use a census, and when a sampling survey?
  2. Why can a sampling survey be used to learn about a population? What must we watch for so that the sample represents the population well?
  3. What is special about simple random sampling? Is a sample taken by simple random sampling always representative? Give an example.
  4. What features do pie charts, bar charts, line charts, histograms and tendency charts each have in describing data? Give examples of how to choose a suitable chart for the need of a problem.

Related points

All points in this topic

Cite this page: Trend charts for paired data · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP004377