## Manual:Covariance Command

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 us. Go to the version which can be edited by users.

##### Covariance

This article is about GeoGebra command.

##### Command Categories (All commands)

- Algebra Commands
- Chart Commands
- Conic Commands
- Discrete Math Commands
- Function Commands
- Geometry Commands
- GeoGebra Commands
- List Commands
- Logical Commands
- Optimization Commands
- Probability Commands
- Scripting Commands
- Spreadsheet Commands
- Statistics Commands
- Text Commands
- Transformation Commands
- Vector and Matrix Commands
- CAS Specific Commands

- 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}*.

## CAS Syntax

- 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}*.