Covariance Command

From GeoGebra Manual
Revision as of 22:07, 9 March 2013 by Zbynek (talk | contribs) (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Jump to: navigation, search



Covariance[ <List 1 of Numbers>, <List 2 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}.

CAS Syntax

Covariance[ <List 1 of Numbers>, <List 2 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