Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Unit test

Associations in data

Like a test in class: no hints, and the answers come at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

  1. A scatterplot of car age against resale value has r=−0.94r = -0.94. How would you describe the relationship?
    1. Strong, negative, linear: older cars tend to be worth less
    2. Weak, because r is negative
    3. Each extra year causes a fixed loss of value
  2. Heights (cm) and weights (kg) of students have r=0.58r = 0.58. Heights are converted to inches. What is the new correlation?
    1. Still 0.580.58: changing units does not change rr
    2. Smaller, since inches are bigger units
    3. It cannot be known without the data
  3. The regression line is y^=29+2x\hat{y} = 29 + 2x. Predict yy for x=3x = 3.
  4. y^=30+3x\hat{y} = 30 + 3x. A data point is (7,46)(7, 46). Find its residual.
  5. A survey asked 145 people whether they exercise weekly. Under 30: 22 yes, 43 no. Age 30 or over: 27 yes, 53 no. What proportion of the under-30s exercise weekly?
  6. A survey asked 135 people whether they exercise weekly. Under 30: 44 yes, 40 no. Age 30 or over: 18 yes, 33 no. Find the proportion of under-30s who exercise minus the proportion of those 30 or over who exercise.