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
xy2284416448571061xy5104060

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 slope b.

n = 5
b =
2.Easy
xy123219320417516xy2420

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

The table gives 6 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 = 6Σx = 42Σy = 112Σx² = 364Σy² = 2636Σxy = 978
r =
4.Medium
xy335437542642746xy46354045

The table gives 5 paired observations of x = advertising spend in k€ and y = sales in k€. Find the coefficient of determination r² of the least-squares line.

n = 5
r² =
5.Hard
xy264136188241028xy510102030ŷ = 10

The table gives 5 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 10?

n = 5ŷ = 10
x =
6.Hard
xy146416731886209422105xy152080100x = 15

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

n = 5x = 15
ŷ =

Answer key

  1. 1. b = 4.1
  2. 2. a = 23.8
  3. 3. r = 0.9929
  4. 4. r² = 0.9443
  5. 5. x = 3.164
  6. 6. ŷ = 68.95

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