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
xy128223320418518612xy246152025

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

n = 6
a =
2.Easy
xy127222321417515xy24152025

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

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 6Σx = 138Σy = 373Σx² = 3244Σy² = 24215Σxy = 8836
r =
4.Medium
xy153369575796910311119xy51050100

The table gives 6 paired observations of x = hours studied and y = exam score. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 6Σx = 36Σy = 515Σx² = 286Σy² = 47181Σxy = 3543
r =
5.Hard
xy2841361481910281229xy510102030x = 5

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 = 5.

n = 6x = 5
ŷ =
6.Hard
xy124221316415513xy24152025x = 2.5

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

n = 5(2.5, 17)
e =

Answer key

  1. 1. a = 29.53
  2. 2. b = −2.9
  3. 3. r = 0.9586
  4. 4. r = 0.9924
  5. 5. ŷ = 14.07
  6. 6. e = −2.2

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