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
xy21141862283210371246xy5102040

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
xy1202183174135965xy2465101520

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

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 = 493Σx² = 286Σy² = 43647Σxy = 3423
r =
4.Medium
xy1273375417519691176xy510406080

The table gives 6 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 = 6
r² =
5.Hard
xy125219318415514610xy24610152025x = 5.5

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. Predict ŷ for x = 5.5.

n = 6x = 5.5
ŷ =
6.Hard
xy15601875218424952711130123xy152025306080100120ŷ = 92

The table gives 6 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 ŷ = 92?

n = 6ŷ = 92
x =

Answer key

  1. 1. b = 3.457
  2. 2. a = 24.27
  3. 3. r = 0.992
  4. 4. r² = 0.9687
  5. 5. ŷ = 11.52
  6. 6. x = 22.66

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