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
xy362467571681785xy467080

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

n = 5
a =
2.Easy
xy2841762382610321238xy51010203040

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

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 = 120Σy = 408Σx² = 2970Σy² = 34848Σxy = 10152
r =
4.Medium
xy147249357472572xy24506070

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² =
5.Hard
xy174220482366267429743282xy202530406080x = 21.5

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.5.

n = 6x = 21.5
ŷ =
6.Hard
xy345456555663763870xy468506070ŷ = 50

The table gives 6 paired observations of x = hours studied and y = exam score. Use the least-squares line ŷ = a + b·x. For which value x does the line predict ŷ = 50?

n = 6ŷ = 50
x =

Answer key

  1. 1. a = 43.2
  2. 2. b = 2.829
  3. 3. r = 0.9623
  4. 4. r² = 0.9106
  5. 5. ŷ = 56.16
  6. 6. x = 3.53

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