How to Calculate the Slope of Regression Line

••• Imgorthand/E+/GettyImages

Calculating the slope of a regression line helps to determine how quickly your data changes. Regression lines pass through linear sets of data points to model their mathematical pattern. The slope of the line represents the change of the data plotted on the y-axis to the change of the data plotted on the x-axis. A higher slope corresponds to a line with greater steepness, while a smaller slope's line is more flat. A positive slope indicates that the regression line rises as the y-axis values increase, while a negative slope implies the line falls as y-axis values increase.

    Pick two points that fall on the regression line. Data points on graph are written as ordered pairs (x,y), where "x" represents a value on the horizontal axis and "y" represents a value on the vertical axis.

    Subtract the "x" value of the first point from the "x" value of the second point to get the change in "x." For example, suppose the two points (3,6) and (9,15) are on the regression line. Using this example, 9 - 3 = 6, which is the calculated change in the "x" value.

    Subtract the "y" value of the first point from the "y" value of the second point to calculate the change in "y." Continuing with the previous example, (3,6) and (9,15) on the regression line, the calculated change in the "y" value is 15 - 6 = 9.

    Divide the change in "y" by the change in "x" to obtain the slope of the regression line. Using the previous example yields 9 / 6 = 1.5. Note that the slope is positive, which means the line rises as the y-axis values increase.

    Tips

    • Slope is frequently denoted by the letter "m" in mathematics.

Related Articles

How to Find Turning Points of a Polynomial
How to Calculate the Slope of a Line of Best Fit
What Is an Infinite Slope?
How to Write a Linear Regression Equation
What is the Definition of Slope in Algebra?
How to Figure Out the Slope of a Line
How to Find Turning Points of a Polynomial
How to Calculate Cost Increase by a Percent
How to Find a Parallel Line
How to Find the Slope of a Plotted Line With the TI-84...
How to Calculate Percent Relative Range
How to Create Linear Equations
How to Graph the Y-Intercept as a Fraction
How to Find a Z Score
How to Calculate Gradients on a Topographic Map
How to Work Out a Gradient of a Curve
How to Write Interval Notations Using the Infinity...
How to Interpret a Scatter Plot
How to Calculate a Moving Range
How to Find Equations of Tangent Lines