document.write( "Question 125473: This is a question concerning least squares. I was asked to derive the math for fitting a straight line to a set of data points with unequal error bars. I don't know how to do this. Please help!
\n" );
document.write( " Thanks \n" );
document.write( "
Algebra.Com's Answer #91922 by stanbon(75887)![]() ![]() ![]() You can put this solution on YOUR website! This is a question concerning least squares. I was asked to derive the math for fitting a straight line to a set of data points with unequal error bars. I don't know how to do this. \n" ); document.write( "------------------- \n" ); document.write( "You could use Google to look at how a least squares formula works; use \n" ); document.write( "the search phrase \"least squares linear regression\". \n" ); document.write( "------------- \n" ); document.write( "Or, you might just think about it. \n" ); document.write( "Plot a small sense of points in the 1st Quadrant. \n" ); document.write( "Draw a line that \"kind of\" goes thru the middle \n" ); document.write( "of the group. \n" ); document.write( "Now, how would you move the line to get a \"better fit\"? \n" ); document.write( "When you move it you are changing the DIFFERENCE in the \n" ); document.write( "y coordinates between the line and a point that have \n" ); document.write( "the same x-value. \n" ); document.write( "some of those DIFFERENCES will be positive and some will \n" ); document.write( "be negative. If you square them the numbers will all \n" ); document.write( "be positive; you can add them; then take the square root. \n" ); document.write( "Hopefully that will give you a number that is closer to \n" ); document.write( "being \"least squares number\". \n" ); document.write( "------------------ \n" ); document.write( "Get the idea? \n" ); document.write( "=============== \n" ); document.write( "Cheers, \n" ); document.write( "Stan H. \n" ); document.write( " |