SampleVariance Command

From GeoGebra Manual
Revision as of 17:17, 7 October 2017 by Zbynek (talk | contribs) (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Jump to: navigation, search


SampleVariance( <List of Raw Data> )
Returns the sample variance of given list of numbers.
Example:
SampleVariance[ {1, 2, 3, 4, 5} ] yields a = 2.5.


SampleVariance( <List of Numbers>, <List of Frequencies> )
Returns the sample variance of given list of numbers considering the frequencies.
Example:
SampleVariance[ {1, 2, 3, 4, 5}, {3, 2, 4, 4, 1} ] yields a = 1.67.


Note Hint: If the list in the Menu view spreadsheet.svg CAS View contains undefined variables, this command yields a formula for the sample variance.
Example:
SampleVariance[ {x, y, z} ] yields \frac{1}{3} x^{2} - \frac{1}{3} x y - \frac{1}{3}xz + \frac{1}{3} y^{2} - \frac{1}{3} y z + \frac{1}{3} z^{2}.
© 2024 International GeoGebra Institute