Difference between revisions of "Variance Command"

From GeoGebra Manual
Jump to: navigation, search
Line 10: Line 10:
 
:Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
 
:Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
 
:{{example|1=<div><code><nowiki>Variance[{1, 2, a}]</nowiki></code> yields ''<math>\frac{2 a^{2} - 6 a + 6}{9}</math>''.</div>}}
 
:{{example|1=<div><code><nowiki>Variance[{1, 2, a}]</nowiki></code> yields ''<math>\frac{2 a^{2} - 6 a + 6}{9}</math>''.</div>}}
 
{{betamanual|version=4.2|
 
1=; Variance[ <List of Numbers>, <List of Frequencies> ]
 
}}
 

Revision as of 23:50, 5 January 2013


Variance[ <List of Numbers> ]
Calculates the variance of list elements.
Example:
Variance[{1, 2, 3}] yields 0.67.
Variance[ <List of Numbers>, <List of Frequencies> ]
Example:
Variance[{1, 2, 3} , {1, 2, 1}] yields 0.5.

CAS Syntax

Variance[ <List of Numbers> ]
Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
Example:
Variance[{1, 2, a}] yields \frac{2 a^{2} - 6 a + 6}{9}.
© 2024 International GeoGebra Institute