Incorporating Uncertainties into Least Squares Fitting
Brokk Toggerson
For this particular topic, video is much better as the process is multiple steps. Therefore, only the captioned video is included.
Summary of how to include uncertainties in a least-squares regression
- Scale both the x and the y data by the uncertainty in y .
- Fit the scaled data using the least-squares method. The resulting slope will include the information about the uncertainty in y.
- Calculate the intercept using the average point .
Note: this only incorporates the uncertainty in y. The uncertainty in x could be handled by inverting the data, following the above process, and then inverting, back. However, this method CANNOT handle uncertainties in both directions at the same time!