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
xy124223320421520xy24202224

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
xy18622173248727853010733110xy2025306080100

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

n = 6
a =
3.Medium
xy274106138141016xy5101015

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 = 60Σx² = 220Σy² = 770Σxy = 404
r =
4.Medium
xy124224320420518xy2418202224

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² =
5.Hard
xy2941862783510391251xy5102040x = 9

The table gives 6 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. A new observation (9, 41) is made. Find its residual e = y − ŷ.

n = 6(9, 41)
e =
6.Hard
xy17671968218223882510127104xy202580100x = 20

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

n = 6(20, 81)
e =

Answer key

  1. 1. a = 24.6
  2. 2. a = 4.762
  3. 3. r = 0.9839
  4. 4. r² = 0.8889
  5. 5. e = 3.138
  6. 6. e = 4.286

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