Trend line least square method
Answers
Answered by
0
A line of best 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 only considering the two-dimensional case, here.)
A line of best fit can be roughly determined using an eyeball method by drawing a straight line on a scatter plotso that the number of points above the line and below the line is about equal (and the line passes through as many points as possible).
A more accurate way of finding the line of best fit is the least square method .
Use the following steps to find the equation of line of best fit for a set ofordered pairs (x1,y1),(x2,y2),...(xn,yn) .
Step 1: Calculate the mean of the x -values and the mean of the y -values.
ˉX=n∑i=1xinˉY=n∑i=1yin
Step 2: The following formula gives the slope of the line of best fit:
m=n∑i=1(xi−ˉX)(yi−ˉY)n∑i=1(xi−ˉX)2
Step 3: Compute the y -intercept of the line by using the formula:
b=ˉY−mˉX
Step 4: Use the slope m and the y -intercept b to form the equation of the line.
It is used to study the nature of the relation between two variables. (We're only considering the two-dimensional case, here.)
A line of best fit can be roughly determined using an eyeball method by drawing a straight line on a scatter plotso that the number of points above the line and below the line is about equal (and the line passes through as many points as possible).
A more accurate way of finding the line of best fit is the least square method .
Use the following steps to find the equation of line of best fit for a set ofordered pairs (x1,y1),(x2,y2),...(xn,yn) .
Step 1: Calculate the mean of the x -values and the mean of the y -values.
ˉX=n∑i=1xinˉY=n∑i=1yin
Step 2: The following formula gives the slope of the line of best fit:
m=n∑i=1(xi−ˉX)(yi−ˉY)n∑i=1(xi−ˉX)2
Step 3: Compute the y -intercept of the line by using the formula:
b=ˉY−mˉX
Step 4: Use the slope m and the y -intercept b to form the equation of the line.
Similar questions