document.write( "Question 1136359: Hours Studied: 1, 3, 3, 4, 4, 2
\n" ); document.write( "Test Score : 70, 80, 85, 90, 85, 75\r
\n" ); document.write( "\n" ); document.write( "The table shows the number of hours
\n" ); document.write( "students studied and their score on a
\n" ); document.write( "math test in Ms. Aduke’s class.\r
\n" ); document.write( "\n" ); document.write( "Write an equation for the trend line.
\n" ); document.write( "

Algebra.Com's Answer #754128 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
basically, you plot the points and then draw a straight line that minimizes the distnce from that straight line to all the points.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "there is software that does that for you, but you can also eyeball the graph and get reasonably close to what the software would have generated.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's my eyeball estimate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i looked at the graph and drew a straight line that i felt was closest to all the points on the graph.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i then took two points on the line in the graph to make my equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the points i chose were (1,72) and (4,88).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the slope of the line was (88 - 72) / (4 - 1) = 16 / 3 = 5.33 rounded to two dedcimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the slope intercept form of the line is y = mx + b, where m is the slope and b is the y-intercept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation became y = 5.33 * x + b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i then took one of the points on the line that i previously chose to make the slope to find the y-intercept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the point i chose was (1,72).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i replace y with 72 and x with 1 to get 72 = 5.33 * 1 + b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i then solved for b to get b = 72 - 5.33 = 66.67.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the y-intercept was 66.67 and the equation became y = 5.33 * x + 6.67.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's what the software generated.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation from the software is y = 63.90243902439 + 5.9756097560976x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when displayed in descending order of degree, the equation becomes:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = 5.9756097560976 * x + 63.90243902439\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i compawred what the software gave me to what i created manmually.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's the two equations.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "software generated is y = 5.98 * x + 63.90 rounded to 2 decimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "manually generated is y = 5.33 * x + 66.67 rounded to 2 decimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i then graphed both of these equations on the same graph to see how much they differed from each other.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's what the graph looks like.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the software generated line is in red.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the manually generated line is in blue.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you have the software generator, that is preferable.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if not, then manually generated will have to do.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the software generated one that i used can be found at http://www.alcula.com/calculators/statistics/linear-regression/\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );