Unified equations for the slope, intercept, and standard errors of the best straight line.

View Researcher's Other Codes

Disclaimer: The provided code links for this paper are external links. Science Nest has no responsibility for the accuracy, legality or content of these links. Also, by downloading this code(s), you agree to comply with the terms of use as set out by the author(s) of the code(s).

Please contact us in case of a broken link from here

Authors Derek York, Norman M. Evensen, Margarita López Martı́nez, Jonás De Basabe Delgado
Journal/Conference Name American Journal of Physics
Paper Category
Paper Abstract It has long been recognized that the least-squares estimation method of fitting the best straight line to data points having normally distributed errors yields identical results for the slope and intercept of the line as does the method of maximum likelihood estimation. We show that, contrary to previous understanding, these two methods also give identical results for the standard errors in slope and intercept, provided that the least-squares estimation expressions are evaluated at the least-squares-adjusted points rather than at the observed points as has been done traditionally. This unification of standard errors holds when both x and y observations are subject to correlated errors that vary from point to point. All known correct regression solutions in the literature, including various special cases, can be derived from the original York equations. We present a compact set of equations for the slope, intercept, and newly unified standard errors.
Date of publication 2004
Code Programming Language Julia
Comment

Copyright Researcher 2021