Difference between revisions of "Covariance Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}}
{{command|statistics}}
+
;Covariance( <List of Numbers>, &lt;List of Numbers> )
; Covariance[List 1 of Numbers, List 2 of Numbers]: Calculates the covariance using the elements of both lists.
+
:Calculates the covariance between the elements of the specified lists.
; Covariance[List of Points]: Calculates the covariance using the ''x''- and ''y''-coordinates of the points.
+
:{{example| 1=<code><nowiki>Covariance({1, 2, 3}, {1, 3, 7})</nowiki></code> yields ''2'', the covariance of ''{1, 2, 3}'' and ''{1, 3, 7}''.}}
==CAS Syntax==
+
;Covariance( <List of Points> )
 +
:Calculates the covariance between the ''x'' and ''y'' coordinates of the specified points.
 +
:{{example| 1=<code><nowiki>Covariance({(1, 1), (2, 3), (3, 7)})</nowiki></code> yields ''2'', the covariance of ''{1, 2, 3}'' and ''{1, 3, 7}''.}}

Latest revision as of 08:44, 12 October 2017


Covariance( <List of Numbers>, <List of Numbers> )
Calculates the covariance between the elements of the specified lists.
Example: Covariance({1, 2, 3}, {1, 3, 7}) yields 2, the covariance of {1, 2, 3} and {1, 3, 7}.
Covariance( <List of Points> )
Calculates the covariance between the x and y coordinates of the specified points.
Example: Covariance({(1, 1), (2, 3), (3, 7)}) yields 2, the covariance of {1, 2, 3} and {1, 3, 7}.
© 2024 International GeoGebra Institute