Difference between revisions of "SampleSD Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
(command syntax: changed [ ] into ( )) |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}} |
− | {{command|cas=true|statistics}} | + | ;SampleSD( <List of Numbers> ) |
− | ;SampleSD | ||
:Returns [[w:Standard_deviation#Estimation|sample standard deviation]] of given [[Lists|list]] of numbers. | :Returns [[w:Standard_deviation#Estimation|sample standard deviation]] of given [[Lists|list]] of numbers. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>SampleSD({1, 2, 3})</nowiki></code> yields ''1''.}} |
− | + | ||
− | ;SampleSD | + | ;SampleSD( <List of Numbers>, <List of Frequencies> ) |
− | :Returns | + | :Returns the ''standard deviation'' of the sample of numbers having the given frequencies. |
− | :{{example|1= | + | :{{example|1=<code><nowiki>SampleSD({1, 2, 3, 4, 4},{1, 1, 1, 2})</nowiki></code> yields ''1.08''.}} |
+ | |||
+ | {{hint|1= | ||
+ | If the list contains undefined variables in the [[File:Menu view cas.svg|link=|16px]] [[CAS View]], the command yields a formula for the ''sample standard deviation''. | ||
+ | :{{example|1=<code><nowiki>SampleSD({1, 2, a})</nowiki></code> yields <math>\frac{\sqrt{a²-3a+3}}{\sqrt{3}}</math>.}} | ||
+ | }} |
Revision as of 10:04, 12 October 2017
- SampleSD( <List of Numbers> )
- Returns sample standard deviation of given list of numbers.
- Example:
SampleSD({1, 2, 3})
yields 1.
- SampleSD( <List of Numbers>, <List of Frequencies> )
- Returns the standard deviation of the sample of numbers having the given frequencies.
- Example:
SampleSD({1, 2, 3, 4, 4},{1, 1, 1, 2})
yields 1.08.
Hint: If the list contains undefined variables in the CAS View, the command yields a formula for the sample standard deviation.
- Example:
SampleSD({1, 2, a})
yields \frac{\sqrt{a²-3a+3}}{\sqrt{3}}.