Deriving Uncertainties for m and b in Least Squares Method"

  • Thread starter Thread starter ghery
  • Start date Start date
  • Tags Tags
    Experimental
AI Thread Summary
In the least squares method for fitting data to a line y = m*x + b, deriving the uncertainties for the slope (m) and intercept (b) involves analyzing error bars corresponding to measurement resolution. Each data point should include error bars, typically half the smallest division of the measuring instrument. To find the slope uncertainties, two additional lines are drawn to represent the maximum and minimum gradients consistent with these error bars. The uncertainty in the slope is calculated by averaging the differences between the maximum and minimum gradients. For the intercept, the uncertainty is determined by the difference between the upper and lower y-intercepts at the point where the three lines cross the y-axis.
ghery
Messages
33
Reaction score
0
Hi there:

First of all, I thank all the people who have answer my questions until now, they were really helpful for me...

Now I have another Doubt, in the least squares method, in order to fit experimental data to find an straight line y = m*x + b. We need to obtain the values of m and b with their uncertainties.

How do you do in order to derive the uncertanties of m and b?

Thanks
 
Physics news on Phys.org
And one more thing:

I know the equations to find the uncertanties, with this question I would like to know how to derive or figure out the equations ?
 
Uncertainty

Each data point should be bracketed with error bars that correspond to the resolution uncertainity of the measuring instrument. If the variable you are measuring varies slowly with time it is reasonable to assume the uncertainty is one half the smallest division on a scale. For example the smallest division on a meter stick is 1 mm so the unceratinity could be 25 mm +/- 0.5 mm. Check the operating manual for the resolution uncertainty for digital measuring equipment.

You have determined the best fit line however two other lines must be drawn. Quoting from "Experimental methods: An introduction to the analysis and presentation of data" by Les Kirkup(John Wiley and sons, 1994) The other two lines are drawn so that they give the maximum and minimum gradient consistent with the error bars. ..The line with the maximum gradient (slope) is drawn so that it passes through all the error bars, but for the data or the extreme right the data passes through the top of the error bars, and for the points at the extreme left the line passes through the bottom of the error bars. For example the gradient of the steepest line may be 2.2 mm/hr

The minimum gradient is found from the line which passes through the bottom of the error bars for the data points on the extreme right, and the top of the error bars for the data on the extreme left. For example the gradient for this line may be 1.6 mm/hr

We can now write the gradient and the associated uncertainty as 1.9 +/- 0.3 mm/hr

In order to obtain the uncertainty in the intercept we locate where the three lines cross the y-axis, Identify the best fit y-intercept. Subtract the upper value y-intercept from the lower value y-intercept and divide by 2. For example if the best fit y-intercept is 0.5 mm, the upper y-intercept is 1.1 mm, the lower value y-intercept is .1 mm the uncertainty of the intercept would be 0.5 mm +/- 0.5 mm"
 
I think it's easist first to watch a short vidio clip I find these videos very relaxing to watch .. I got to thinking is this being done in the most efficient way? The sand has to be suspended in the water to move it to the outlet ... The faster the water , the more turbulance and the sand stays suspended, so it seems to me the rule of thumb is the hose be aimed towards the outlet at all times .. Many times the workers hit the sand directly which will greatly reduce the water...
Back
Top