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
xy17621973218323862510727109xy20256080100

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
xy26247067889310108xy5106080100

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

n = 5
b =
3.Medium
xy249457664872108412102xy5106080100

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 = 42Σy = 428Σx² = 364Σy² = 32390Σxy = 3350
r =
4.Medium
xy131341548754955xy5304050

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 = 25Σy = 229Σx² = 165Σy² = 10887Σxy = 1267
r =
5.Hard
xy240343451551657762xy246405060x = 5.5

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

n = 6(5.5, 52)
e =
6.Hard
xy346449550660758xy4645505560x = 6.5

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

n = 5(6.5, 54)
e =

Answer key

  1. 1. b = 4.857
  2. 2. b = 5.75
  3. 3. r = 0.9812
  4. 4. r = 0.9659
  5. 5. e = −3.01
  6. 6. e = −3.85

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