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
xy1513675767909101xy56080100

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 =
2.Easy
xy148253356466568669xy246506070

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

n = 6
b =
3.Medium
xy15251834213924542757xy15202530405060

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

n = 5
r =
4.Medium
xy125223324422518xy242025

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
xy126227323424524xy242426x = 4.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 (4.5, 19) is made. Find its residual e = y − ŷ.

n = 5(4.5, 19)
e =
6.Hard
xy125221322421518614xy246152025x = 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. Predict ŷ for x = 1.5.

n = 6x = 1.5
ŷ =

Answer key

  1. 1. b = 6.15
  2. 2. b = 4.571
  3. 3. r = 0.9826
  4. 4. r = −0.8778
  5. 5. e = −4.75
  6. 6. ŷ = 23.88

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