Error propagation in least squares

AI Thread Summary
Calculating the uncertainty in the slope of a least squares fit requires considering the measurement uncertainties, such as the 0.1K accuracy of temperature readings. One approach discussed is to determine the worst-case slopes based on measurement uncertainty and use the difference as the error estimate. Another suggestion is to utilize Chi-Squared Analysis for assessing the quality of the fit. An electronic resource was shared that outlines a method of averaging the worst possible slopes to define the error in slope. Overall, the discussion emphasizes the need for reliable methods to quantify error propagation in linear regression analysis.
refrigerator
Messages
15
Reaction score
0
I am doing a calculation involving taking three or more temperature measurements and then plotting them against another quantity (dependent). I get a relationship that is pretty linear, so I take the line of best fit to obtain an equation with a slope and an intercept.

Now, my question is: how do you calculate error/uncertainty in the resulting slope? I have looked around the Internet and found ways to calculate error purely on the distribution of points, but I am rather looking for error caused by uncertainties in my measurements. For instance, if my temperature readings are good to 0.1K, how would that factor into the uncertainty of the slope? (I have previously used software like IGOR Pro that I think calculated those values for me, but I want to know how it is done.)

Should I, for example, take the worst cases (highest and lowest possible slopes based on measurement uncertainty) and take the difference as the error? Or is this a bit pessimistic? (A formula would be great, I could understand it from there.)

Thank you.
 
Mathematics news on Phys.org
How do you know that you have the best fit? I recommend a Chi Sqaured Analysis. See "Probability and Statistics for Engineering and the Sciences" by Jay L. Devore. That should point you in the right direction.

Hope this helps.
 
Hmm, I currently do not have access to any books, so an electronic resource would be preferable. But I will make sure to take a look at that book as soon as I get access to a library. Looks like it has some useful information.

I am looking for error propagation. I would like to determine a fit through the least squares technique, and then determine probable error in slope based on uncertainty in my readings. I have done further searching, and found this:

http://www.ghiweb.com/cap/Lab114115/App%20B%20-%20graphing/appB%20Slope.htm

Here, they take the average of the worst possible slopes as the error in slope. This is sort of similar to what I originally thought I might do. I suppose this is a reasonable definition, but before I move on does anyone know of any other ways of estimating error?

Thank you!
 
Last edited by a moderator:
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top