document.write( "Question 1190695: Thank you for helping me!
\n" ); document.write( "I need to make a scatter plot of the data and find the equation of the best fitting line, and approximate the value of y for x = 3.
\n" ); document.write( "x= -1, 0, 1 , 2, 4
\n" ); document.write( "y = 3,3,1,0,-3\r
\n" ); document.write( "\n" ); document.write( "I plotted the graph but I don't know how to do the rest, thank you very much.
\n" ); document.write( "

Algebra.Com's Answer #822412 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Here's the original table\n" ); document.write( "\n" ); document.write( "
xy
-13
03
11
20
4-3
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Form the column of xy values by multiplying each x and y number for each separate row.
\n" ); document.write( "Example: Row 1 has x*y = -1*3 = -3\n" ); document.write( "\n" ); document.write( "
xyxy
-13-3
030
111
200
4-3-12
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now compute the column of x^2 values\n" ); document.write( "\n" ); document.write( "
xyxyx^2
-13-31
0300
1111
2004
4-3-1216

\n" ); document.write( "We'll get the sum of each column
\n" ); document.write( "A = sum of the x values = -1+0+1+2+4 = 6
\n" ); document.write( "B = sum of the y values = 3+3+1+0+(-3) = 4
\n" ); document.write( "C = sum of the xy values = -3+0+1+0+(-12) = -14
\n" ); document.write( "D = sum of the x^2 values = 1+0+1+4+16 = 22\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then we can compute the slope m based on those values computed
\n" ); document.write( "\"m+=+%28C%2An+-+A%2AB%29%2F%28D%2An+-+A%5E2%29\"
\n" ); document.write( "where n is the number of points
\n" ); document.write( "In this case, n = 5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the slope is,
\n" ); document.write( "\"m+=+%28C%2An+-+A%2AB%29%2F%28D%2An+-+A%5E2%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"m+=+%28-14%2A5+-+6%2A4%29%2F%2822%2A5+-+6%5E2%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"m+=+-1.27027\" approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And the y intercept b is
\n" ); document.write( "\"b+=+%28B-m%2AA%29%2Fn\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"b+=+%284-%28-1.27027%29%2A6%29%2F5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"b+=+2.324324\" also approximate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The regression line is approximately \"y+=+-1.27027x+%2B+2.324324\"
\n" ); document.write( "For larger data sets, I recommend using a calculator to make quick work of finding the regression line. Also, they are handy to check your answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll let you plug in x = 3 to find the corresponding y estimate value.
\n" ); document.write( "
\n" ); document.write( "
\n" );