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
xy259359468576680xy246607080

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

n = 5
b =
2.Easy
xy25346168489210107xy5106080100

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
xy129227323423520620xy246202530

The table gives 6 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 = 6Σx = 21Σy = 142Σx² = 91Σy² = 3428Σxy = 464
r =
4.Medium
xy361461575675779xy46607080

The table gives 5 paired observations of x = hours studied and y = exam score. Find Pearson's correlation coefficient r.

n = 5
r =
5.Hard
xy14291742204123552661xy15202530405060x = 18.5

The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. Predict ŷ for x = 18.5.

n = 5x = 18.5
ŷ =
6.Hard
xy124224321417512613xy246152025x = 1.5

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. A new observation (1.5, 20) is made. Find its residual e = y − ŷ.

n = 6(1.5, 20)
e =

Answer key

  1. 1. b = 5.9
  2. 2. a = 37.7
  3. 3. r = −0.9613
  4. 4. r = 0.924
  5. 5. ŷ = 41.75
  6. 6. e = −3.929

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