document.write( "Question 1073270: I have a table with shoe sizes and height in inches (10,70.5), (10.5, 71), (11,72), (9,68.5), (12,74), (8.5,67.5) I need to write an equation for a line. I figured out that the slope is 2. How do i write an equation for the line?
\n" ); document.write( "Is it y = mx+b?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #688106 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
you are correct
\n" ); document.write( ":
\n" ); document.write( "The linear regression equations are
\n" ); document.write( ":
\n" ); document.write( "Regression Equation(y) = a + bx
\n" ); document.write( ":
\n" ); document.write( "Slope(b) = (NΣXY - (ΣX)(ΣY)) / (NΣX^2 - (ΣX)^2)
\n" ); document.write( ":
\n" ); document.write( "Intercept(a) = (ΣY - b(ΣX)) / N
\n" ); document.write( ":
\n" ); document.write( "Note Σ means the summation of the variable's values
\n" ); document.write( ":
\n" ); document.write( "x and y are the variables, x is shoe sizes and y is height in inches
\n" ); document.write( ":
\n" ); document.write( "b = The slope of the regression line
\n" ); document.write( ":
\n" ); document.write( "a = The intercept point of the regression line and the y axis.
\n" ); document.write( ":
\n" ); document.write( "N = Number of values - you have six pairs, so N = 6
\n" ); document.write( ":
\n" ); document.write( "X = shoe size values
\n" ); document.write( ":
\n" ); document.write( "Y = height values in inches
\n" ); document.write( ":
\n" ); document.write( "ΣXY = Sum of the product of shoe sizes and heights in inches
\n" ); document.write( ":
\n" ); document.write( "ΣX = Sum of shoe sizes
\n" ); document.write( ":
\n" ); document.write( "ΣY = Sum of heights in inches
\n" ); document.write( ":
\n" ); document.write( "ΣX^2 = Sum of squares of shoe sizes
\n" ); document.write( ":
\n" ); document.write( "
\n" );