Archived Weighted least-squares fit error propagation

AI Thread Summary
The discussion centers on deriving the uncertainties in the constants A and B from a weighted least-squares fit for a linear relationship between two variables, x and y, where x has negligible uncertainty and y has varying uncertainties. The weights are defined as the inverse of the uncertainties in y. The best estimates for A and B are provided along with the expressions for their uncertainties, which involve sums of the weights and measurements. Participants express confusion about handling the sums and applying error propagation rules, particularly given the negligible uncertainty in x. The key takeaway is that the negligible uncertainty allows for treating certain terms as constants in the calculations.
mbigras
Messages
61
Reaction score
2

Homework Statement


Suppose we measure N pairs of values (xi, yi) of two variables x and y that are supposed to statisfy a linear relation y = A + Bx suppose the xi have negligible uncertainty and the yi have different uncertainties \sigma_{i}. We can define the weight of the ith measurement as w_{i} = 1/\sigma_{i}. Then the best estimates of A and B are:

<br /> A = \frac{\Sigma w x^{2}\Sigma w y - \Sigma w x \Sigma w x y}{\Delta}\\<br /> B = \frac{\Sigma w \Sigma w x y - \Sigma w x \Sigma w y}{\Delta}\\<br /> \Delta = \Sigma w \Sigma x^{2} - \left(\Sigma w x \right)^{2}<br />

Use error propagation to prove that the uncertainties in the constants A and B are given by

<br /> \sigma_{A} = \sqrt{\frac{\Sigma w x^{2}}{\Delta}}\\<br /> \sigma_{B} = \sqrt{\frac{\Sigma w}{\Delta}}<br />

Homework Equations



rules for sums and differences
<br /> q = x \pm z\\<br /> \delta q = \sqrt{(\delta x)^{2} + (\delta z)^{2}}\\<br />
rules for products and quotients
<br /> \delta q = \sqrt{(\delta x/x)^{2} + (\delta z/z)^{2}}\\<br />

The Attempt at a Solution


What I'm thinking is because the uncertainty in x is negligible it will be treated like a constant. I'm not sure how to deal with all these sums. I feel like I don't know how to approach this question.
 
Last edited:
Physics news on Phys.org
Try calculating E(A2) etc. The negligible uncertainty in the x allows you to treat the Δ denominators as constant.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top