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
xy142317442052236526702979xy1520253020406080

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 6
a =
2.Easy
xy15481756196421772379xy152050607080

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

n = 5
a =
3.Medium
xy124222321421518xy2418202224

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
xy16541869206822832496xy206080100

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

n = 5Σx = 100Σy = 370Σx² = 2040Σy² = 28406Σxy = 7596
r =
5.Hard
xy1466179520106231262614029157xy15202530100150x = 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. Predict ŷ for x = 27.5.

n = 6x = 27.5
ŷ =
6.Hard
xy1393465517609661174xy5104060ŷ = 42

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. For which value x does the line predict ŷ = 42?

n = 6ŷ = 42
x =

Answer key

  1. 1. a = −20.47
  2. 2. a = −14.05
  3. 3. r = −0.9481
  4. 4. r = 0.9675
  5. 5. ŷ = 149.9
  6. 6. x = 1.984

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