![]()
STATISTICS
|
|
Linear RegressionWhen two sets of numbers are plotted in a graph, and we feel that the points are close to being on a straight line, it is tempting to draw a straight line and say that the line describes the relationship. The question is, which line is the best one? Which straight line represents the points best? How can we find a straight line such that the difference between the line and the points is small?If the correlation is +1 or -1, there is no problem. Then, the points really are on a straight line, and we simply draw that line. When the relationship is not perfect, and very few relationships in the real world are, the correlation is not +1 or -1, the points do not form a perfect straight line. Then, we have to decide where to draw the line. Here, the calculator comes to our rescue. If we give the calculator the two sets of numbers, it will figure out which is the best straight line, and give us an equation that we can use to draw it. It also gives us the correlation. Take a look at the numbers in the table. Nine students wrote papers on the use of computers in today's homes. Two teachers graded each paper on a scale 0 to 40. The grades Mr. Watson gave are in the first column, and the grades Ms. Thurman gave are in the second column. We will call Mr. Watson's grades x, and Ms. Thurman's grades y.
Create a graph to check if there is any relationship between the grades given by the two teachers. Let the x-axis represent Mr. Watson's grading scale, and the y-axis represent Ms. Thurman's grading scale. You can use pencil and paper or your calculator. The coordinates of the points are (37,28) , (28,27) , (26,38) , (25,29) , (22,12) , (17,26) , (15,21) , (11,24) and (9,17). Are the points close to being on a straight line? Now, let's use the calculator to find the line that best fits the points you plotted on your graph.
Below the a and b you will see r=.4776. That is the correlation between the two sets of grades. As we said earlier, the correlation comes free with the regression! Now, use the equation to draw the line in the same graph that you plotted the points on. Do you agree with the calculator that this is the line that best fits the points?
Finding a graph to represent points, like you did, is called regression. This type is called linear, because we are looking for a line that fits the points. In some cases, other curves would fit better than a line. We could, for example, do a quadratic regression if the points seem to lie on a parabola. Then the equation would be on the form y=ax2+bx+c. Can you think of two sets of numbers where a quadratic regression would be more appropriate than a linear regression? Area 10 Mathematics and Technology Professional Development Center Permission is granted to duplicate these materials for classroom use.
Last updated on 1/30/1999 |