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.

Associations in data

Practice sheet

Fresh questions from the whole chapter, to do on paper.

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. r=0.6r = 0.6, sx=15s_x = 15 and sy=16s_y = 16. Find the slope of the least-squares regression line of yy on xx.
  4. The least-squares line has slope 33, and xˉ=20\bar{x} = 20, yˉ=12\bar{y} = 12. Find its intercept.
  5. The regression line is y^=29+2x\hat{y} = 29 + 2x. Predict yy for x=3x = 3.
  6. y^=30+3x\hat{y} = 30 + 3x. A data point is (7,46)(7, 46). Find its residual.
  7. The residual plot of a linear model fitted to 56 points shows a clear U-shaped curve. What does that tell you?
    1. A straight line is not a good model: the relationship is curved
    2. The model is good, because residuals are both positive and negative
    3. There is one outlier
  8. A point has residual +8+8. Where is it relative to the regression line?
    1. 8 units above the line: the model underpredicts it
    2. 8 units below the line
    3. On the line
  9. For trees, height^=3+8 age\widehat{\text{height}} = 3 + 8\,\text{age} (feet, years). What does 88 mean?
    1. For each extra year of age, the predicted height increases by 8 feet
    2. Every tree grows exactly 8 feet each year
    3. A tree of age 0 is 8 feet tall
  10. A regression has r=0.2r = 0.2. What fraction of the variation in yy is explained by the linear model (r2r^2)?
  11. A model for children aged 2 to 6 predicts height from age. Is it reasonable to use it for a 40-year-old?
    1. No: 40 is far outside the ages used to fit the model (extrapolation)
    2. Yes, if r is close to 1
    3. Yes: a line can be extended forever
  12. 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?