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
xy2841261782610281236xy510102030

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

n = 6
b =
2.Easy
xy122223327435537640xy2463040

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

n = 6
a =
3.Medium
xy350563778986119413105xy5106080100

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 = 48Σy = 476Σx² = 454Σy² = 39810Σxy = 4184
r =
4.Medium
xy122220318417514613xy2461520

The table gives 6 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 = 6
r² =
5.Hard
xy123219319414514xy241520x = 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. Predict ŷ for x = 2.5.

n = 5x = 2.5
ŷ =
6.Hard
xy2294326408461051xy510304050ŷ = 43

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. For which value x does the line predict ŷ = 43?

n = 5ŷ = 43
x =

Answer key

  1. 1. b = 2.814
  2. 2. a = 16.67
  3. 3. r = 0.9932
  4. 4. r² = 0.9862
  5. 5. ŷ = 18.95
  6. 6. x = 7.172

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