To find the slope of the least squares regression line for the given points, we can use the formula for the slope
Where:
is the number of points, is the sum of the product of each and , is the sum of all values, is the sum of all values, is the sum of the squares of each value.
Given your data points:
We first calculate the required sums:
- Calculating
, , , and :
- Calculating
:
- Now plug into the slope formula:
Therefore, the slope of the least squares regression line based on the given points is