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
xy167318832094221062411726125xy202580100120

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
xy127222324418519618xy2462025

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

The table gives 5 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 = 5Σx = 30Σy = 138Σx² = 220Σy² = 4332Σxy = 972
r =
4.Medium
xy124223323417514xy24152025

The table gives 5 paired observations of x = car age in years and y = price in k€. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 5Σx = 15Σy = 101Σx² = 55Σy² = 2119Σxy = 277
r =
5.Hard
xy284146208261030xy510102030ŷ = 28

The table gives 5 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 28?

n = 5ŷ = 28
x =
6.Hard
xy2104186228331038xy51010203040x = 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, 17) is made. Find its residual e = y − ŷ.

n = 5(3, 17)
e =

Answer key

  1. 1. a = −12.53
  2. 2. b = −1.714
  3. 3. r = 0.9954
  4. 4. r = −0.9262
  5. 5. x = 9
  6. 6. e = 3.45

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