Difference between revisions of "FitLineX Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
(command syntax: changed [ ] into ( ))
Line 2: Line 2:
 
; FitLineX( <List of Points> )
 
; FitLineX( <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| See also [[File:Mode fitline.svg|link=|24px]] [[Best Fit Line Tool|Best Fit Line]] tool and [[FitLine Command]].}}

Revision as of 09:48, 12 October 2017


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: See also Mode fitline.svg Best Fit Line tool and FitLine Command.
© 2024 International GeoGebra Institute