Linear regression & correlation worksheet with answers

Free printable Linear regression & correlation worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
xy133235342452549xy244050

The table gives 5 paired observations of x = advertising spend in k€ and y = sales in k€. Use the least-squares line ŷ = a + b·x. Find the slope b.

n = 5
b =
2.Easy
xy1263455567659741184xy510406080

The table gives 6 paired observations of x = advertising spend in k€ and y = sales in k€. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 6
a =
3.Medium
xy128225320416515613xy246152025

The table gives 6 paired observations of x = car age in years and y = price in k€. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 6Σx = 21Σy = 117Σx² = 91Σy² = 2459Σxy = 355
r =
4.Medium
xy154264369470575684xy246607080

The table gives 6 paired observations of x = hours studied and y = exam score. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 6Σx = 21Σy = 416Σx² = 91Σy² = 29354Σxy = 1548
r =
5.Hard
xy16681873208322922410026112xy202580100x = 17

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. Predict ŷ for x = 17.

n = 6x = 17
ŷ =
6.Hard
xy264126198231030xy510102030ŷ = 21

The table gives 5 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 21?

n = 5ŷ = 21
x =

Answer key

  1. 1. b = 4.9
  2. 2. a = 25.25
  3. 3. r = −0.9779
  4. 4. r = 0.9726
  5. 5. ŷ = 70.29
  6. 6. x = 7.017

Full step-by-step solutions: practise this topic on examproblems.com.