Lesson 7 of 7 · 20 min

Solving problems with bivariate data

Put the whole topic together to solve a practical problem — display and describe an association, fit and check a linear model, predict, and draw a conclusion that respects association versus causation.

What you will be able to do

  • Follow a complete process to analyse an association between two variables.
  • Combine the scatterplot, r, R², the least-squares line and the residual plot into one argument.
  • Evaluate a claim based on bivariate data, including claims of cause.

A grain grower on the Darling Downs wants to know how much the growing-season rainfall matters for her wheat yield, and what yield to expect in a dry year. She has rainfall and yield records for eight seasons. Every tool from this topic and the last one has a job in answering her.

Analysing an association between two numerical variables

  1. Identify the variables

    Decide which is explanatory and which is response.

  2. Display and describe

    Draw a scatterplot. Describe the direction, form and strength, and calculate rr.

  3. Fit the model

    Use technology to find the least-squares line, and write it with the variable names.

  4. Check the model

    Look at the residual plot. Random scatter means a linear model is appropriate.

  5. Interpret and use

    Interpret the slope, the intercept (if meaningful) and R2R^2. Make the predictions asked for.

  6. Conclude and evaluate

    Comment on reliability (strength, residuals, interpolation or extrapolation), and on whether any cause can be claimed.

Interactive

Rainfall and wheat yield

Eight seasons on one Darling Downs farm. The residual plot has no clear pattern, so a linear model is appropriate.

Worked example

Analyse rainfall and wheat yield from start to finish

  • Complex unfamiliar
  • Technology active

A Darling Downs grower recorded growing-season rainfall and wheat yield for eight seasons.

Rainfall (mm)210245260290315340360395
Yield (kg/ha)16001900230022002600290028003300

The residual plot for a linear model shows the residuals scattered randomly about 0. The grower expects a dry season of 230 mm. Analyse the association and advise her on the yield to expect, commenting on the reliability of your advice.

8 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Identify the variables, then describe the association with r.

  2. Fit the line with technology and check the residual plot.

  3. Interpret the slope and R², then predict.

  4. Judge reliability with strength, residuals and interpolation, and answer the question in context.

Watch out for

  • Skipping the residual plot and assuming the association is linear.

  • Giving a prediction without the reliability comment the question asks for.

Using yield (kg/ha)=8.71×rainfall (mm)−178.55\text{yield (kg/ha)} = 8.71 \times \text{rainfall (mm)} - 178.55, predict the wheat yield in a season with 300 mm of rain. Give your answer to the nearest kilogram per hectare.

in kg/ha

Round to the nearest whole number.

The grower uses the same line to predict the yield in a season with 600 mm of rain: 8.71×600−178.55≈50478.71 \times 600 - 178.55 \approx 5047 kg/ha. Which comment on this prediction is best?

Choose one answer

Exam tip

Complex unfamiliar questions

CU questions in this topic usually give you a context and a decision to make — which variable is the better predictor, whether a prediction can be trusted, whether a claim is justified. Use the steps above as a checklist, quote the statistics you use, and finish with a clear conclusion in context.

The last step — the conclusion — is where cause sneaks in. Rainfall plausibly does cause higher yields (wheat needs water), but even so the data only shows an association. On other farms, soil type or fertiliser could be confounding variables. When someone makes a claim from bivariate data, test it against everything you know.

Worked example

Evaluate a claim of cause

  • Complex unfamiliar
  • Technology active

For 12 regional Queensland towns, a council report plots the number of fast-food outlets per 10 000 people against the hospital admissions for heart disease per 10 000 people. It finds r=0.82r = 0.82 and concludes: "Limiting the number of fast-food outlets will reduce heart disease in our town." Evaluate this conclusion.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Describe and quantify the association.

  2. Say what kind of data it is: observational data shows association, not cause.

  3. Name specific confounding variables and how they link to both.

  4. Reach a clear conclusion about the claim.

Watch out for

  • Agreeing with the claim because rr is large.

  • Rejecting the claim without giving a specific alternative explanation.

What bivariate data can show

  • Whether two variables are associated, and how strongly
  • The form of the association
  • A model for predicting one variable from the other within the data
  • How much of the variation is explained (R2R^2)

What it can't show on its own

  • That one variable causes the other
  • That the trend continues outside the data
  • That the model suits individuals rather than the overall trend
  • That an association is not coincidence

Summary

  • Analyse an association in order: variables, display and describe, fit, check the residuals, interpret and predict, conclude.

  • Quote the statistics you rely on (r, R², the line) and interpret each in context.

  • Reliability depends on strength, the residual plot and whether you are interpolating.

  • Evaluate any claim of cause by considering confounding variables and coincidence; only an experiment can establish cause.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 7 of 70% read

Save your progress with a free account