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
xy123224319419518xy2418202224

The table gives 5 paired observations of x = car age in years and y = price in k€. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 5
a =
2.Easy
xy2414496558691084xy510406080

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

n = 5
a =
3.Medium
xy26486128171023xy5101020

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 = 66Σx² = 220Σy² = 1062Σxy = 482
r =
4.Medium
xy334434541640748xy46354045

The table gives 5 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 = 5Σx = 25Σy = 197Σx² = 135Σy² = 7897Σxy = 1019
r =
5.Hard
xy12522131541651366xy2461020ŷ = 15

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 ŷ = 15?

n = 6ŷ = 15
x =
6.Hard
xy357569781910311110xy5106080100x = 6

The table gives 5 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. Predict ŷ for x = 6.

n = 5x = 6
ŷ =

Answer key

  1. 1. a = 25.1
  2. 2. a = 27.8
  3. 3. r = 0.9844
  4. 4. r = 0.9247
  5. 5. x = 3.797
  6. 6. ŷ = 77

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