Difference between revisions of "FitLineX Command"

From GeoGebra Manual
Jump to: navigation, search
(* If you work with big/small numbers, you should consider normalizing them for a more accurate result, see Normalize Command.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}}
; FitLineX[ &lt;List of Points> ]
+
; FitLineX( &lt;List of Points> )
 
: Calculates the ''x'' on ''y'' regression line of the points.
 
: Calculates the ''x'' on ''y'' regression line of the points.
:{{example|1=<div><code><nowiki>FitLineX[{(-1, 3), (2, 1), (3, 4), (5, 3), (6, 5)}]</nowiki></code> yields ''1.1x - 0.1''.</div>}}
+
:{{example|1=<code><nowiki>FitLineX({(-1, 3), (2, 1), (3, 4), (5, 3), (6, 5)})</nowiki></code> yields ''1.1x - 0.1''.}}
 
==CAS Syntax==
 
==CAS Syntax==
; FitLineX[ &lt;List of Points> ]
+
; FitLineX( &lt;List of Points> )
 
: Calculates the ''x'' on ''y'' regression line of the points.
 
: Calculates the ''x'' on ''y'' regression line of the points.
:{{example|1=<div><code><nowiki>FitLineX[{(-1, 3), (2, 1), (3, 4), (5, 3), (6, 5)}]</nowiki></code> yields ''1.1x - 0.1''.</div>}}
+
:{{example|1=<code><nowiki>FitLineX({(-1, 3), (2, 1), (3, 4), (5, 3), (6, 5)})</nowiki></code> yields ''1.1x - 0.1''.}}
{{Note| See also [[File:Mode fitline.svg|link=|24px]] [[Best Fit Line Tool|Best Fit Line]] tool and [[FitLine Command]].}}
+
 
 +
{{note| 1=<div>
 +
*See also [[File:Mode fitline.svg|link=|24px]] [[Best Fit Line Tool|Best Fit Line]] tool and [[FitLine Command]]
 +
* If you work with big/small numbers, you should consider normalizing them for a more accurate result, see  [[Normalize Command]].
 +
</div>}}

Latest revision as of 12:46, 4 February 2019


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

CAS Syntax

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


Note:
© 2024 International GeoGebra Institute