Difference between revisions of "Variance Command"
From GeoGebra Manual
m (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 ) |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4. | + | <noinclude>{{Manual Page|version=4.2}}</noinclude> |
{{command|cas=true|statistics}} | {{command|cas=true|statistics}} | ||
;Variance[ <List of Numbers> ] | ;Variance[ <List of Numbers> ] |
Revision as of 22:33, 9 March 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.
- Examples:
Variance[{1, 2, a}]
yields \frac{2 a^{2} - 6 a + 6}{9}.Variance[{1, 2, a} {20, 3, 1}]
yields \frac{2 \; a² - 52 \; a + 632}{9}