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
xy1222173164135967xy246101520

The table gives 6 paired observations of x = car age in years and y = price in k€. Use the least-squares line ŷ = a + b·x. Find the slope b.

n = 6
b =
2.Easy
xy24045266587310781295xy510406080100

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
xy128224323421519619xy2462025

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 = 134Σx² = 91Σy² = 3052Σxy = 438
r =
4.Medium
xy12521931941559xy2410152025

The table gives 5 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 = 5Σx = 15Σy = 87Σx² = 55Σy² = 1653Σxy = 225
r =
5.Hard
xy2414516548621071xy51040506070x = 9

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. Predict ŷ for x = 9.

n = 5x = 9
ŷ =
6.Hard
xy36357078399411106xy5106080100ŷ = 100

The table gives 5 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 100?

n = 5ŷ = 100
x =

Answer key

  1. 1. b = −2.914
  2. 2. a = 31.07
  3. 3. r = −0.962
  4. 4. r = −0.9649
  5. 5. ŷ = 66.45
  6. 6. x = 10.05

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