Measurement Science and Technology · 2007 · 217 citations · 22 references
ComputingComputer ScienceAlgorithmsStatistical ComputingUncertainty QuantificationCalibrationCurve FittingMeasurement UncertaintyParameter Estimation Under UncertaintyUncertainty AnalysisConvergenceLeast-squares Parameter FittingLeast-squares Uncertainty AnalysisWeighted Least SquaresWeighted Least Squares Estimation
The well-known problem of fitting a straight line to data with uncertainties in both coordinates is revisited. An algorithm is developed which treats x- and y-data in a symmetrical way. The problem is reduced to a one-dimensional search for a minimum. Global convergence and stability are assured by determining the angle of the straight line with respect to the abscissa instead of the slope. As opposed to previous publications on the subject, the complete uncertainty matrix is calculated, i.e. variances and covariance of the fitting parameters. The algorithm is tested using Pearson's data with York's weights. Although the algorithm is implemented in MATLAB, implementation in a different programming language is straightforward using the formulae presented. An application example is given, a calibration line for dosimetry based on electron spin resonance of alanine is investigated.
22
Numerical recipes in C: the art of scientific computing
Choice Reviews Online · 1993 · 18.1K citations · Full text
LEAST-SQUARES FITTING OF A STRAIGHT LINE
Derek York · Canadian Journal of Physics · 1966 · 1.5K citations