Raymond Hettinger <[email protected]> added the comment:
Looking over the comments so far, it looks like (x, y) would be best and
(independent variable, dependent variable) would be second best. The (x, y)
also has the advantage of matching correlation() and covariance().
For output order, it seems that algebraic formulas sometimes have the intercept
first and sometimes have it last. That said, whenever the words "slope" and
"intercept" are used in text, it seems that slope almost always comes first (as
in slope/intercept form of a line).
FWIW, MS Excel's LINEST function returns is {mn,mn-1,...,m1,b} and the
documentation described in terms of y = mx + b.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44151>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com