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
xy127223321421519612xy246152025

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
xy137345553762975xy54060

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 intercept a.

n = 5
a =
3.Medium
xy34855976598111871396xy5106080100

The table gives 6 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 = 6Σx = 48Σy = 436Σx² = 454Σy² = 33356Σxy = 3828
r =
4.Medium
xy128225323422520xy242025

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 = 118Σx² = 55Σy² = 2822Σxy = 335
r =
5.Hard
xy35356177198211841393xy5106080x = 10

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

n = 6x = 10
ŷ =
6.Hard
xy128226323418517xy242025x = 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, 29) is made. Find its residual e = y − ŷ.

n = 5(2.5, 29)
e =

Answer key

  1. 1. b = −2.486
  2. 2. a = 31.15
  3. 3. r = 0.9934
  4. 4. r = −0.9851
  5. 5. ŷ = 82
  6. 6. e = 5.1

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