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
xy2841862683110371243xy5102040

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

n = 6
a =
2.Easy
xy131225328423523619xy246202530

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
xy17781995211082311725129xy202580100120

The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Find Pearson's correlation coefficient r.

n = 5
r =
4.Medium
xy179519101211162312325137xy2025100120140

The table gives 5 paired observations of x = temperature in °C and y = ice creams sold. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 5Σx = 105Σy = 572Σx² = 2245Σy² = 66580Σxy = 12224
r =
5.Hard
xy248361456568667xy246506070x = 2.5

The table gives 5 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. A new observation (2.5, 58) is made. Find its residual e = y − ŷ.

n = 5(2.5, 58)
e =
6.Hard
xy124222321416514xy24152025ŷ = 23

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

n = 5ŷ = 23
x =

Answer key

  1. 1. a = 3.467
  2. 2. a = 31.93
  3. 3. r = 0.9937
  4. 4. r = 0.9914
  5. 5. e = 4.75
  6. 6. x = 1.615

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