How to Write a Prediction Equation for a Scatter Plot

A linear equation can describe a graph's points.
••• Jupiterimages/Polka Dot/Getty Images

A scatter plot features points spread across a graph's axes. The points do not fall upon a single line, so no single mathematical equation can define all of them. Yet you can create a prediction equation that determines each point's coordinates. This equation is the function of the line of best fit through the plot's many points. Depending on the strength of the correlation between the graph's variables, this line may be very steep or close to horizontal.

    Draw a shape around all the points on the scatter plot. This shape should appear significantly longer than it is wide.

    Mark a line through this shape, creating two equally sized shapes that are also longer than they are wide. An equal number of scatter points should appear on either side of this line.

    Choose two points on the line you have drawn. For this example, imagine that these two points have coordinates of (1,11) and (4,13).

    Divide the difference between these points' y-coordinates by the difference in their x-coordinates. Continuing this example: (11 - 13) ÷ (1 - 4) = 0.667. This value represents the slope of the line of best fit.

    Subtract the product of this slope and a point's x-coordinate from the point's y-coordinate. Applying this to the point (4,13): 13 - (0.667 × 4) = 10.33. This is the intercept of the line with the y-axis.

    Substitute the line's slope and intercept as "m" and "c" in the equation "y = mx + c." With this example, this produces the equation "y = 0.667x + 10.33." This equation predicts the y-value of any point on the plot from its x-value.

Related Articles

How to Find the Function in Math
How to Calculate the Slope of a Line of Best Fit
How to Find The Slope of a Line Given Two Points
How to Convert Graphs to Equations
How to Create Linear Equations
How to Find the Angle of a Curve
How to Write a Linear Regression Equation
How to Find the Equation of a Scatter Plot
How to Find Quadratic Equations From a Table
How to Measure an Angle Without a Protractor
How to Find the Function in Math
What Is an Infinite Slope?
How to Calculate Regression Coefficient
How to Straighten an Inverse Curve
How to Find the Inequalities From a Graph
How to Calculate SSE
How to Figure Out the Slope of a Line
How to Find Slope From an Equation
How Do We Write the Equation of a Horizontal Line?
What Are Vertices in Math?