Educerie

Educerie · AP · Statistics

AP Statistics 5.1

Graphical Representations Between Two Quantitative Variables

How can we describe the relationship between two quantitative variables, and how well can one be used to predict the other?

What you will learn

  • Understand that a bivariate data set pairs two quantitative values from the same individuals, with the explanatory variable on the horizontal axis
  • Know the four things to describe in a scatterplot: form, direction, strength and unusual features
  • Understand what a positive and a negative association mean for the two variables, in context
  • Know that a scatterplot supports a tends-to claim about the variables and does not show cause

You must be able to

  1. Describe a scatterplot by form, direction, strength and unusual features, in context
  2. State which variable is explanatory and which is the response, and which axis each belongs on
  3. Identify clusters and points that do not fit the pattern
  4. Choose the claim that a scatterplot supports and reject one that goes too far
  5. Construct a scatterplot from paired data with labeled axes and an even scale
  6. Explain what a positive or negative association means using the words tend to

In the exam. About 10 to 20% of Section I comes from Unit 5, as single questions and as the regression set of three. A scatterplot appears as a described graph or a figure, and the question asks you to name the form, direction or strength, to pick the explanatory variable, or to decide which claim the plot supports. In Section II, Unit 5 is part of a free-response question: you describe a scatterplot in context, usually for one or two marks, before a calculation or an interpretation.

1Two quantitative variables, one set of individuals

Statistics so far has looked at one variable at a time. Here every individual gives two measurements.

Example (invented): a stall sells hot chocolate. On 12 mornings the owner writes down the temperature at 9 am and the number of cups sold that day. Each morning is one individual and gives one pair, such as (6 °C, 71 cups).

Both variables must be quantitative: numbers on which adding, averaging and comparing size make sense. Two categorical variables are handled with two-way tables (Unit 2). One of each is handled by comparing groups.

Explanatory variable = the variable whose values are used to explain or predict the other.

Response variable = the variable you want to explain or predict.

In the stall data the owner wants to predict sales from the forecast, so temperature is explanatory and cups sold is the response. Notice that this is a choice about purpose, not a law of nature. Sales do not change the temperature, so here the order is obvious. When it is not, the question will tell you which variable is used to predict which.

2Building a scatterplot

Figure 1 is the scatterplot of the 12 mornings. These are the pairs it plots.

Temperature at 9 am (°C)−2-2013467910121315
Cups sold969190828471726460539840
Figure 1. Scatterplot of cups of hot chocolate sold against the temperature at 9 am for 12 mornings: one dot for each morning, the temperature on the horizontal axis; the dots fall from upper left to lower right, with one morning that sold far more than the rest −4 0 4 8 12 16 20 40 60 80 100 Cups sold Temperature at 9 am (°C) a warm morning with a big queue
Figure 1 · Cups of hot chocolate sold against the temperature at 9 am, for 12 mornings

To construct one:

  1. Put the explanatory variable on the horizontal axis and the response on the vertical axis.
  2. Label each axis with the variable's name and units, such as "Temperature at 9 am (°C)".
  3. Choose a scale that spreads the data across the plot. The axes do not have to start at zero, but each must have even steps.
  4. Plot one dot for each pair. The pair (10 °C, 60 cups) sits 10 units along and 60 units up.
  5. Never join the dots. A scatterplot shows a pattern of separate individuals, not a path.

In Figure 1 the first dot on the left is the coldest morning, at −2-2 °C, which sold 96 cups. Check every dot against its pair in the table to catch a slip in a hand-drawn plot.

3Describing a scatterplot: form, direction, strength, unusual features

Four things earn the marks. Each one goes with the context.

Form = the overall shape of the pattern. Say linear if the dots follow a straight band, and non-linear if they follow a curve.

Direction = whether the response tends to go up or down as the explanatory variable goes up.

  • Positive association: as the explanatory values increase, the response values tend to increase.
  • Negative association: as the explanatory values increase, the response values tend to decrease.

Strength = how closely the dots follow the general pattern. Say strong, moderate or weak.

Unusual features = clusters of dots, and individual dots that do not fit the general pattern.

Figures 2 and 3 show four invented patterns.

Figure 2. Two scatterplots: on the left foot length rises with shoe size along a close straight line, a strong positive linear association; on the right homework time falls with distance from school but the dots are spread wide, a weak negative linear association (a) Strong, positive, linear 4 6 8 10 12 20 25 30 35 40 Foot length (cm) Shoe size Figure 2. Two scatterplots: on the left foot length rises with shoe size along a close straight line, a strong positive linear association; on the right homework time falls with distance from school but the dots are spread wide, a weak negative linear association (b) Weak, negative, linear 2 4 6 8 10 20 40 60 80 100 0 Homework (min) Distance from school (km)
Figure 2 · Foot length against shoe size (strong, positive, linear) and homework time against distance from school (weak, negative, linear)

In (a) the dots hug a straight band, so the form is linear, the direction positive and the strength strong. In (b) the dots drift downwards but are spread wide around any line, so the form is linear, the direction negative and the strength weak.

Figure 3. Two scatterplots with unusual patterns: on the left the height of a thrown ball rises and then falls with time, a non-linear form; on the right snail shell length and mass fall into two separate clusters (c) Non-linear (curved) 1 2 3 4 8 12 0 Height (m) Time after the throw (s) Figure 3. Two scatterplots with unusual patterns: on the left the height of a thrown ball rises and then falls with time, a non-linear form; on the right snail shell length and mass fall into two separate clusters (d) Two clusters 10 20 30 40 0 2 4 6 8 10 Mass (g) Shell length (mm)
Figure 3 · Height of a thrown ball against time (a curve) and snail mass against shell length (two clusters)

In (c) the dots rise, level off and fall. The form is non-linear, and it would be wrong to say the association is positive or negative, because the direction changes along the pattern. In (d) there are two clusters, a group of small snails and a group of large ones, with a gap between them.

Words that need care

  • Direction is about "tend to". A positive association does not mean every dot is above the one before it. It means that, in general, higher explanatory values go with higher responses.
  • Strength is about spread around the pattern, not about the slope. A steep pattern with wide scatter is weak, and a shallow pattern with little scatter is strong.
  • Linear is about the shape, so do not explain "linear" by saying "it makes a line". Say that the dots follow a straight-line pattern, and say whether the direction is positive or negative.
  • Keep "correlation" for linear patterns. Topic 5.2 defines it as a number for linear association between two quantitative variables, so a curved pattern is described by its form and not by calling it a correlation.

4Describing in context

The exam wants a sentence about the variables, not a list of labels. A full description names the form, the direction (as a statement about the two variables), the strength and any unusual feature.

Worked example: the stall. Describe the association in Figure 1.

  • Form: the pattern is roughly linear.
  • Direction: negative. Mornings with a higher temperature at 9 am tend to have fewer cups of hot chocolate sold.
  • Strength: strong. Eleven of the twelve dots lie close to a straight band running from upper left to lower right.
  • Unusual feature: one morning, at 13 °C with 98 cups sold, sits far above the pattern. It does not fit the trend of the other eleven mornings. It was a warm morning but a very busy one.

The model answer says "tend to", so it does not claim that every colder morning sold more. It names both variables, so it is about the stall. It also describes the unusual morning instead of leaving it out.

A negative association between temperature and cups sold means that, in general, warmer mornings have fewer cups sold.

A sentence that says only "negative, linear, strong" loses the context mark. A sentence that says "as the temperature goes up, the sales go down" loses the "tend to" and over-claims. The course description recommends phrases such as "tend to have" and "on average".

5Unusual features

An unusual feature is anything that makes the plot differ from one simple pattern. There are two kinds you must know.

  • A point that does not fit the pattern. Name where it is (the coordinates, if you can read them) and say that it is far from the pattern followed by the other dots. If the question allows, suggest a reason from the context. In Figure 1 the reason could be an event nearby.
  • Clusters. A cluster is a group of dots set apart from the others. Figure 3(d) shows two. Clusters often mean the data come from two different kinds of individual, such as two species of snail. Say so in context.

You are not asked to remove a dot, test it, or calculate how much it pulls a line. The exam asks you to notice it and describe it.

6Justifying a claim from a scatterplot

A scatterplot is evidence. To justify a claim, point to what the plot shows and say how it supports the claim.

Example (invented): a plot of the number of hours of practice per week against the time taken to run a race shows a negative, fairly strong, linear pattern with no unusual dots. Three claims are made.

  • "Runners who practice more hours tend to run faster times." Supported: direction is negative, so more practice goes with a lower time.
  • "Practicing more makes a runner faster." Not supported. The plot shows an association. Only a well-designed experiment can show cause (Unit 1), and 5.2 returns to this.
  • "Every runner who practiced 10 hours beat every runner who practiced 5." Not supported. A strong pattern still has scatter, and the claim is about every individual, not a tendency.

A claim from a scatterplot should be a "tends to" statement about the variables in the plot. It should not go beyond the individuals shown, and it should not claim cause.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.