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
xy123216314411511xy241520

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

n = 5
b =
2.Easy
xy339439539644748852xy468404550

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
xy130228326425524xy2424262830

The table gives 5 paired observations of x = car age in years and y = price in k€. Find the coefficient of determination r² of the least-squares line.

n = 5
r² =
4.Medium
xy350453553662767xy465060

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 = 285Σx² = 135Σy² = 16451Σxy = 1468
r =
5.Hard
xy352453564668770874xy4686070x = 4.5

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

n = 6x = 4.5
ŷ =
6.Hard
xy16901898201102211924138xy20100120140x = 17

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

n = 5(17, 98)
e =

Answer key

  1. 1. b = −2.9
  2. 2. b = 2.771
  3. 3. r² = 0.9698
  4. 4. r = 0.9474
  5. 5. ŷ = 58.79
  6. 6. e = 4.55

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