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

Descriptive statistics: two variables

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 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?
  2. Of 40 drivers who texted, 30 had a near-miss; of 40 who did not text, 10 had one. Is there an association between texting and near-misses in these data?
    1. Yes: 75% of texters vs 25% of non-texters had a near-miss
    2. No: both groups have 40 drivers
    3. Yes, and it proves texting causes near-misses
  3. 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
  4. 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.
  5. y^=30+3x\hat{y} = 30 + 3x. A data point is (7,46)(7, 46). Find its residual.
  6. 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