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
xy2384536638641079xy510406080

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 =
2.Easy
xy364467570678787xy467080

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

n = 5
a =
3.Medium
xy274156238261031xy510102030

The table gives 5 paired observations of x = load in kN and y = extension in mm. Find the coefficient of determination r² of the least-squares line.

n = 5
r² =
4.Medium
xy2114176248361042xy51010203040

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 = 130Σx² = 220Σy² = 4046Σxy = 942
r =
5.Hard
xy2341061581510201227xy5101020x = 7

The table gives 6 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. Predict ŷ for x = 7.

n = 6x = 7
ŷ =
6.Hard
xy145247354451562657xy2465060x = 4.5

The table gives 6 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. A new observation (4.5, 59) is made. Find its residual e = y − ŷ.

n = 6(4.5, 59)
e =

Answer key

  1. 1. a = 31.5
  2. 2. a = 44.7
  3. 3. r² = 0.9691
  4. 4. r = 0.9925
  5. 5. ŷ = 15
  6. 6. e = 3.419

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