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
xy126224325421522618xy2462025

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
xy128224322422521xy2425

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. Find the slope b.

n = 5
b =
3.Medium
xy162818312042224324482660xy202530405060

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

n = 6
r =
4.Medium
xy294146218311038xy51010203040

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

n = 5
r =
5.Hard
xy27486108151016xy5101015x = 5

The table gives 5 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. A new observation (5, 14) is made. Find its residual e = y − ŷ.

n = 5(5, 14)
e =
6.Hard
xy244561181210171218xy51051015x = 5

The table gives 6 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. A new observation (5, 5) is made. Find its residual e = y − ŷ.

n = 6(5, 5)
e =

Answer key

  1. 1. b = −1.429
  2. 2. b = −1.6
  3. 3. r = 0.9731
  4. 4. r = 0.9941
  5. 5. e = 4.05
  6. 6. e = −3.11

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