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
xy1666197422972510428126xy202580100120

The table gives 5 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 = 5
b =
2.Easy
xy34555775996711721382xy5106080

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

n = 6
a =
3.Medium
xy122219318414512xy241520

The table gives 5 paired observations of x = car age in years and y = price in k€. Find the coefficient of determination r² of the least-squares line.

n = 5
r² =
4.Medium
xy27486118121017xy5101015

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
xy355454560666779xy46607080x = 3.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 (3.5, 58) is made. Find its residual e = y − ŷ.

n = 5(3.5, 58)
e =
6.Hard
xy294186248311036xy510102030x = 3

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 (3, 11) is made. Find its residual e = y − ŷ.

n = 5(3, 11)
e =

Answer key

  1. 1. b = 5
  2. 2. a = 36.47
  3. 3. r² = 0.9766
  4. 4. r = 0.9639
  5. 5. e = 4.2
  6. 6. e = −2.55

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