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
xy125224321418516615xy246152025

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
xy3475487609621167xy5105060

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 =
3.Medium
xy15611776198521912398xy15206080100

The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 5Σx = 95Σy = 411Σx² = 1845Σy² = 34607Σxy = 7987
r =
4.Medium
xy25476118141016xy51051015

The table gives 5 paired observations of x = load in kN and y = extension in mm. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 5Σx = 30Σy = 53Σx² = 220Σy² = 647Σxy = 376
r =
5.Hard
xy125227322422520xy242025x = 2.5

The table gives 5 paired observations of x = car age in years and y = price in k€. Use the least-squares line ŷ = a + b·x. A new observation (2.5, 22) is made. Find its residual e = y − ŷ.

n = 5(2.5, 22)
e =
6.Hard
xy122222318414512611xy2461520x = 1.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 (1.5, 20) is made. Find its residual e = y − ŷ.

n = 6(1.5, 20)
e =

Answer key

  1. 1. b = −2.2
  2. 2. b = 2.7
  3. 3. r = 0.9812
  4. 4. r = 0.9935
  5. 5. e = −1.95
  6. 6. e = −1.586

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