FitLine Command

From GeoGebra Manual
Revision as of 12:44, 4 February 2019 by Murkle (talk | contribs) (* If you work with big/small numbers, you should consider normalizing them for a more accurate result, see Normalize Command.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


FitLine( <List of Points> )
Calculates the y on x regression line of the points.
Example: FitLine({(-2, 1), (1, 2), (2, 4), (4, 3), (5, 4)}) yields 0.4x + 2.

CAS Syntax

FitLine( <List of Points> )
Calculates the y on x regression line of the points.
Example: FitLine({(-2, 1), (1, 2), (2, 4), (4, 3), (5, 4)}) yields 0.4x + 2.


Note:
© 2024 International GeoGebra Institute