Variance Command

From GeoGebra Manual
Revision as of 14:48, 31 October 2014 by Noel Lambert (talk | contribs) (\; don't work in LaTeX ?)
Jump to: navigation, search



Variance[ <List of Raw Data> ]
Calculates the variance of list elements.
Example:
Variance[{1, 2, 3}] yields 0.67.
Variance[ <List of Numbers>, <List of Frequencies> ]
Calculates the variance of list elements, considering the 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}.
© 2024 International GeoGebra Institute