document.write( "Question 1011186: The following are the scores of 15 students obtained in
\n" );
document.write( "the midterm and final examinations in a course in
\n" );
document.write( "probability and statistics \r
\n" );
document.write( "\n" );
document.write( "Midterm
\n" );
document.write( "Exam, x 70 50 80 75 90 85 60 80 65 30 85 80 70 65 40
\n" );
document.write( "Final
\n" );
document.write( "Exam, y 85 60 75 80 90 75 50 75 75 50 75 90 65 55 60
\n" );
document.write( "(i) Find the equation of the least square line to fit these
\n" );
document.write( "data,
\n" );
document.write( "(ii) Estimate the final examination scores of a student
\n" );
document.write( "who received a score of 74 in the midterm
\n" );
document.write( "examination.
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #627328 by rothauserc(4718)![]() ![]() You can put this solution on YOUR website! Steps in using least square method \n" ); document.write( "1) calculate the mean of the x values (midterm grade) \n" ); document.write( "2) calculate the mean of the y values (final grade) \n" ); document.write( "3) calculate the slope of the line of best fit \n" ); document.write( "slope = (summation from i = 1 to 15 of (xi - xmean)*(yi - ymean)) / (summation of i = 1 to 15 of (xi - xmean)^2) \n" ); document.write( "4) compute the y intercept using \n" ); document.write( "b = ymean - (slope*xmean) \n" ); document.write( "5) you now have the equation of the line using least square method \n" ); document.write( "******************************************************************************* \n" ); document.write( "1) xmean = 68.33 \n" ); document.write( "2) ymean = 70.67 \n" ); document.write( "3) slope = 2466.67 / 4183.33 = 0.59 \n" ); document.write( "4) b = 70.67 - (0.59 * 68.33) = 30.36 \n" ); document.write( "5) y = 0.59x + 30.36 \n" ); document.write( "now if x = 74 then \n" ); document.write( "y = (0.59*74) + 30.36 = 74.02 \n" ); document.write( "using our line using least square method, we expect a student who gets a 74 on the midterm to get a 74 on the final\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |