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
xy36758378891081111513133xy510100

The table gives 6 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. Find the intercept a.

n = 6
a =
2.Easy
xy132235338441544656xy2464050

The table gives 6 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 = 6
b =
3.Medium
xy138243356459566xy24405060

The table gives 5 paired observations of x = advertising spend in k€ and y = sales in k€. Find Pearson's correlation coefficient r.

n = 5
r =
4.Medium
xy3345387469481147xy510354045

The table gives 5 paired observations of x = advertising spend in k€ and y = sales in k€. Their sums are given. Find Pearson's correlation coefficient r from these sums.

n = 5Σx = 35Σy = 213Σx² = 285Σy² = 9229Σxy = 1563
r =
5.Hard
xy163418392039224724542658xy2025405060x = 21

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

n = 6x = 21
ŷ =
6.Hard
xy254961382210251232xy510102030x = 7

The table gives 6 paired observations of x = load in kN and y = extension in mm. Use the least-squares line ŷ = a + b·x. A new observation (7, 23) is made. Find its residual e = y − ŷ.

n = 6(7, 23)
e =

Answer key

  1. 1. a = 48.03
  2. 2. b = 4.286
  3. 3. r = 0.9823
  4. 4. r = 0.9138
  5. 5. ŷ = 45.17
  6. 6. e = 5.333

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