Section 1
Review: Calculating the Equation of the Line
Property
A trend line (or regression line) models the relationship between two variables, coming as close as possible to all data points. To find its equation, pick two points on the drawn line, which do not need to be original data points.
- First, calculate the slope () using the formula , which represents the vertical change divided by the horizontal change.
- Next, identify the y-intercept (), which is the point where the line crosses the y-axis and occurs when is zero.
- Finally, substitute and into the slope-intercept form, .
Examples
- Find the slope between and using the formula: .
- A regression line passes through and . The slope is . The equation simplifies to .
- If the calculated slope of a line of fit is and the y-intercept is , the complete equation is .
Explanation
The regression line is a straight line that best summarizes the trend in a scatterplot. The slope formula is a way to calculate the steepness of this line without relying solely on a visual graph. Once you calculate the slope and identify the y-intercept, substituting your specific numerical values into gives you a final linear model that represents the overall trend of the data.