Difference between revisions of "Variance Command"
From GeoGebra Manual
Line 7: | Line 7: | ||
;Variance[ <List of Numbers> ] | ;Variance[ <List of Numbers> ] | ||
: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{ | + | {{example|1=<div><code><nowiki>Variance[{1, 2, a}]</nowiki></code> yields ''<math>\frac{2 a^{2} - 6 a + 6}{9}</math>''.</div>}} |
Revision as of 13:23, 6 September 2011
- Variance[ <List of Numbers> ]
- Calculates the variance of list elements.
Example:
Variance[{1, 2, 3}]
yields 0.67.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}.