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
xy1669188320106221082412626140xy2025100

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
xy1303405507569661175xy510406080

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

n = 6
b =
3.Medium
xy21041862383010391249xy5102040

The table gives 6 paired observations of x = load in kN and y = extension in mm. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 6Σx = 42Σy = 169Σx² = 364Σy² = 5775Σxy = 1448
r =
4.Medium
xy240342446558659764xy246405060

The table gives 6 paired observations of x = advertising spend in k€ and y = sales in k€. Find the coefficient of determination r² of the least-squares line.

n = 6
r² =
5.Hard
xy181022010722120241322614428161xy2025100120140160x = 21

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

n = 6(21, 114)
e =
6.Hard
xy128224320420518612xy246152025ŷ = 19

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

n = 6ŷ = 19
x =

Answer key

  1. 1. a = −40.47
  2. 2. b = 4.414
  3. 3. r = 0.9943
  4. 4. r² = 0.9427
  5. 5. e = −1.724
  6. 6. x = 3.976

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