Difference between revisions of "SampleVariance Command"
From GeoGebra Manual
Line 6: | Line 6: | ||
;SampleVariance[ <List of Numbers> ] | ;SampleVariance[ <List of Numbers> ] | ||
:Returns the [[w:Sample_variance#Population_variance_and_sample_variance|sample variance]] of given list of numbers. If the list contains undefined variables, it yields a formula for the sample variace. | :Returns the [[w:Sample_variance#Population_variance_and_sample_variance|sample variance]] of given list of numbers. If the list contains undefined variables, it yields a formula for the sample variace. | ||
− | : {{Example|1= <code>SampleVariance[ | + | : {{Example|1= <code>SampleVariance[{x, y, z}]</code> returns <math>\frac{x² - x y - x z + y² - y z + z²}{3}</math>.}} |
Revision as of 14:47, 10 August 2011
- SampleVariance[ <List of Numbers> ]
- Returns the sample variance of given list of numbers.
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 variace.
- Example:
SampleVariance[{x, y, z}]
returns \frac{x² - x y - x z + y² - y z + z²}{3}.