9. Simple Linear Regression: Simple Linear Regression
Finding the Regression Equation
A regression line is the best-fitting straight line through a set of data points. This section introduces a method by which the slope and the intercept of the regression line can directly be calculated.
Calculation Regression Coefficient and Intercept
Performing a simple linear regression analysis results in a regression equation of the form:
To calculate the slope of the regression line, use of the following formula:
Once the slope is known, it is possible to calculate the intercept with the following formula:
Consider the following pairs of data points:
Find the regression line corresponding to these points.
The first step in determining the regression line is to calculate the mean values of and .
Next, find the values of and for each pair of data points:
With this information the slope and intercept can be calculated:
So the regression equation is:
Note that the regression line always passes through the point . In this case, and entering into the equation gives:
Next, find the values of and for each pair of data points:
With this information the slope and intercept can be calculated:
So the regression equation is:
Note that the regression line always passes through the point . In this case, and entering into the equation gives:
Unlock full access