Least-squares regression line
The following equation can represent a straight line.
Where 'b' is the slope of the line, and "a" is the y-intercept.
For this problem,
The equation of the regression line for the given problem is given below.
Y=0.30+2.05 X
The coefficients have been rounded off to the nearest hundredths.
Linear correlation coefficient
Another name for the linear correlation coefficient is Pearson's correlation coefficient. The value of the linear correlation coefficient is given below for the data in the problem.
Linear or Pearson correlation coefficient (r) = 0.9948
Calculations:
Least-squares regression line
Let's build a table with X and Y values.
X Y
1 2
3 7
5 10
9 20
11 22
Let's consider X as the independent variable and Y as the dependent variable. The following table needs to be prepared to compute the regression coefficients.
X Y X⋅Y
1 2 2 1 4
3 7 21 9 49
5 10 50 25 100
9 20 180 81 400
11 22 242 121 484
Sum29 61 495 237 1037
Using this table, we can do the following calculations.
Regression coefficients like the slope "b" and the y-intercept "a" are acquired using the above calculations' values.
Hence, the regression line can be constructed as given below.
The coefficients have been rounded off to the nearest hundredths.
Linear correlation coefficient or Pearson's correlation coefficient