Difference between revisions of "SampleVariance Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
m |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}} |
− | {{command|cas=true|statistics}} | ||
;SampleVariance[ <List of Raw Data> ] | ;SampleVariance[ <List of Raw Data> ] | ||
:Returns the [[w:Sample_variance#Population_variance_and_sample_variance|sample variance]] of given list of numbers. | :Returns the [[w:Sample_variance#Population_variance_and_sample_variance|sample variance]] of given list of numbers. |
Revision as of 12:56, 28 August 2015
- 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.
CAS Syntax
- SampleVariance[ <List of Numbers> ]
- Returns the sample variance of given list of numbers. If the list contains undefined variables, it yields a formula for the sample variance.
- Example:
SampleVariance[ {x, y, z} ]
yields \frac{x² - x y - x z + y² - y z + z²}{3}.