Be the first to rate this file! 8 Downloads (last 30 days) File Size: 2.82 KB File ID: #30193

weighted total least squares for mutually correlated coordinates

by Mathias Anton

 

26 Jan 2011

Weighted total least squares line fit taking correlations between x and y pairs into account.

| Watch this File

File Information
Description

The problem of fitting a straight line to data with uncertainties in both coordinates is solved using a weighted total least-squares algorithm. The parameters are transformed from the usual slope/y-axis intersection pair to slope angle and distance to the origin. The advantages of this are that a) global convergence is assured b) a solution is found even for a vertical line. The complete uncertainty matrix (i.e. variances AND covariance of the fitting parameters) is determined. For non-vertical straight lines the usual parameters (slope/y-axis intersect.) are also given, together with their uncertainty matrix. The algorithm is especially useful for precision measurements, where the knowledge of the complete uncertainty matrix is a must. In addition to our previous version wtls_line.m, now a vector of correlation coefficients rho can be given as input. However, great care has to be taken in order to provide an adequate value. We strongly recommend to consult the publicaton in order to see how to estimate the input rho. A hint is given in the help text. The algorithm is published in Measurement Science and Technology 22 (2011) by M.Krystek and M.Anton, Physikalisch-Technische Bundesanstalt Braunschweig, Germany.

MATLAB release MATLAB 7.7 (R2008b)
Other requirements great care as to the choice of rho...
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
mathematics Mathias Anton 27 Jan 2011 08:40:28
statistics Mathias Anton 27 Jan 2011 08:40:28
interpolation Mathias Anton 27 Jan 2011 08:40:28
correlation Mathias Anton 27 Jan 2011 08:40:28
total least squares Mathias Anton 27 Jan 2011 08:40:28
mathematics kuoping 27 Jan 2011 08:59:31
total least squares kuoping 27 Jan 2011 08:59:42

Contact us at files@mathworks.com