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
xy153518422151245627703075xy152025304060

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 6
a =
2.Easy
xy154018492158246027773084xy15202530406080

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. Find the slope b.

n = 6
b =
3.Medium
xy260365463572675xy24660657075

The table gives 5 paired observations of x = hours studied and y = exam score. Find the coefficient of determination r² of the least-squares line.

n = 5
r² =
4.Medium
xy143416411839204622472460xy152025405060

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

n = 6
r =
5.Hard
xy17601978217223862510127106xy20256080100x = 26

The table gives 6 paired observations of x = temperature in °C and y = ice creams sold. Use the least-squares line ŷ = a + b·x. A new observation (26, 106) is made. Find its residual e = y − ŷ.

n = 6(26, 106)
e =
6.Hard
xy123222319418515614xy2461520x = 4.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 = 4.5.

n = 6x = 4.5
ŷ =

Answer key

  1. 1. a = −7.095
  2. 2. b = 2.914
  3. 3. r² = 0.8665
  4. 4. r = 0.9246
  5. 5. e = 4.281
  6. 6. ŷ = 16.59

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