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
xy157261369470577xy246070

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
xy123222319416515xy241520

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
xy25346567889110107xy5106080100

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

n = 5Σx = 30Σy = 394Σx² = 220Σy² = 32848Σxy = 2632
r =
4.Medium
xy1202203164145764xy2465101520

The table gives 6 paired observations of x = car age in years and y = price in k€. Find Pearson's correlation coefficient r.

n = 6
r =
5.Hard
xy124226324420519616xy2462025ŷ = 18

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

n = 6ŷ = 18
x =
6.Hard
xy17472059236226712982xy2025306080ŷ = 68

The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 68?

n = 5ŷ = 68
x =

Answer key

  1. 1. b = 4.9
  2. 2. a = 25.6
  3. 3. r = 0.9986
  4. 4. r = −0.9674
  5. 5. x = 5.385
  6. 6. x = 24.39

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