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
xy274861382010241228xy510102030

The table gives 6 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 6
a =
2.Easy
xy186120692280249826101xy20256080100

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

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 =
4.Medium
xy1283345367409391143xy510303540

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 = 36Σy = 220Σx² = 286Σy² = 8206Σxy = 1414
r =
5.Hard
xy1669198622111251282814531150xy15202530100150ŷ = 149

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 149?

n = 6ŷ = 149
x =
6.Hard
xy1484179320114231412615529166xy15202530100150x = 27.5

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. A new observation (27.5, 156) is made. Find its residual e = y − ŷ.

n = 6(27.5, 156)
e =

Answer key

  1. 1. a = 0.6667
  2. 2. b = 5.45
  3. 3. r = −0.5754
  4. 4. r = 0.9518
  5. 5. x = 29.49
  6. 6. e = −5.1

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