Slope Of Best Fit Line
Line of Best Fit (Least Square Method)
A line of all-time fit is a straight line that is the best approximation of the given set of data.
It is used to study the nature of the relation between two variables. (We're just considering the 2-dimensional example, here.)
A line of best fit tin can be roughly adamant using an eyeball method by drawing a straight line on a besprinkle plot and so that the number of points above the line and below the line is about equal (and the line passes through every bit many points every bit possible).
A more authentic way of finding the line of all-time fit is the least square method .
Apply the following steps to find the equation of line of best fit for a set of ordered pairs .
Step ane: Summate the hateful of the -values and the mean of the -values.
Footstep two: The following formula gives the slope of the line of best fit:
Pace 3: Compute the -intercept of the line by using the formula:
Pace 4: Use the slope and the -intercept to grade the equation of the line.
Example:
Use the least square method to determine the equation of line of all-time fit for the data. And then plot the line.
Solution:
Plot the points on a coordinate plane .
Calculate the means of the -values and the -values.
Now calculate , , , and for each .
Summate the slope.
Summate the -intercept.
Utilise the formula to compute the -intercept.
Use the gradient and -intercept to course the equation of the line of best fit.
The slope of the line is and the -intercept is .
Therefore, the equation is .
Draw the line on the scatter plot.
Slope Of Best Fit Line,
Source: https://www.varsitytutors.com/hotmath/hotmath_help/topics/line-of-best-fit
Posted by: matneyfror1958.blogspot.com
0 Response to "Slope Of Best Fit Line"
Post a Comment