Atmos. Chem. Phys. Discuss., 8, 6409-6436, 2008
www.atmos-chem-phys-discuss.net/8/6409/2008/
doi:10.5194/acpd-8-6409-2008
© Author(s) 2008. This work is distributed
under the Creative Commons Attribution 3.0 License.
Review Status
This discussion paper has been under review for the journal Atmospheric Chemistry and Physics (ACP). Please refer to the corresponding final paper in ACP.
Technical Note: Review of methods for linear least-squares fitting of data and application to atmospheric chemistry problems
C. A. Cantrell
National Center for Atmospheric Research, Atmospheric Chemistry Division, 1850 Table Mesa Drive, Boulder, CO 80305, USA

Abstract. The representation of data, whether geophysical observations, numerical model output or laboratory results, by a best fit straight line is a routine practice in the geosciences and other fields. While the literature is full of detailed analyses of procedures for fitting straight lines to values with uncertainties, a surprising number of scientists blindly use the standard least squares method, such as found on calculators and in spreadsheet programs, that assumes no uncertainties in the x values. Here, the available procedures for estimating the best fit straight line to data, including those applicable to situations for uncertainties present in both the x and y variables, are reviewed. Representative methods that are presented in the literature for bivariate weighted fits are compared using several sample data sets, and guidance is presented as to when the somewhat more involved iterative methods are required, or when the standard least-squares procedure would be expected to be satisfactory. A spreadsheet-based template is made available that employs one method for bivariate fitting.

Citation: Cantrell, C. A.: Technical Note: Review of methods for linear least-squares fitting of data and application to atmospheric chemistry problems, Atmos. Chem. Phys. Discuss., 8, 6409-6436, doi:10.5194/acpd-8-6409-2008, 2008.
 
Search ACPD
Discussion Paper
XML
Citation
Final Revised Paper
Share