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
xy18932110324111271293014633163xy202530100150

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

n = 6
b =
2.Easy
xy243354457561656xy2465060

The table gives 5 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 5
a =
3.Medium
xy239343452556661xy246405060

The table gives 5 paired observations of x = advertising spend in k€ and y = sales in k€. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 5Σx = 20Σy = 251Σx² = 90Σy² = 12931Σxy = 1061
r =
4.Medium
xy124221318416514xy24152025

The table gives 5 paired observations of x = car age in years and y = price in k€. Find Pearson's correlation coefficient r.

n = 5
r =
5.Hard
xy123220319413513611xy2461520x = 5.5

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. A new observation (5.5, 14) is made. Find its residual e = y − ŷ.

n = 6(5.5, 14)
e =
6.Hard
xy17831997211012311225123xy202580100120x = 20

The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. A new observation (20, 100) is made. Find its residual e = y − ŷ.

n = 5(20, 100)
e =

Answer key

  1. 1. b = 4.733
  2. 2. a = 41
  3. 3. r = 0.991
  4. 4. r = −0.9944
  5. 5. e = 2.471
  6. 6. e = 1.55

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