Difference between revisions of "SampleSD Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
m
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}}
{{command|cas=true|statistics}}
+
;SampleSD( &lt;List of Numbers> )
;SampleSD[ <List of Numbers> ]
+
:Returns the [[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=<code><nowiki>SampleSD({1, 2, 3})</nowiki></code> yields ''1''.}}
:{{example|1=<div><code><nowiki>SampleSD[{1, 2, 3}]</nowiki></code> yields ''1''.</div>}}
+
:{{example|1=<code><nowiki>stdev({1, 2, 3})</nowiki></code> yields ''1''.}}
  
;SampleSD[ <List of Numbers>, <List of Frequencies> ]
+
;SampleSD( &lt;List of Numbers>, &lt;List of Frequencies> )
:Returns the standard deviation of the sample of numbers having the given frequencies.
+
:Returns the [[w:Standard_deviation#Estimation|sample standard deviation]] of the numbers having the given frequencies.
:{{example|1=<div><code><nowiki>SampleSD[{1, 2, 3, 4, 4},{1, 1, 1, 2}]</nowiki></code> yields ''1.08''.</div>}}
+
:{{example|1=<code><nowiki>SampleSD({1, 2, 3, 4, 4},{1, 1, 1, 2})</nowiki></code> yields ''1.08''.}}
  
==CAS Syntax==
+
{{hint|1=
;SampleSD[ <List of Numbers> ]
+
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''.
:Returns [[w:Standard_deviation#Estimation|sample standard deviation]] of given [[Lists|list]] of numbers. If the list contains undefined variables, it 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&#125;}{\sqrt{3&#125;}</math>.}}
:{{example|1=<div><code><nowiki>SampleSD[{1, 2, a}]</nowiki></code> yields <math>\frac{\sqrt{a²-3a+3&#125;}{\sqrt{3&#125;}</math>.</div>}}
+
}}

Latest revision as of 20:04, 11 August 2023


SampleSD( <List of Numbers> )
Returns the sample standard deviation of given list of numbers.
Example: SampleSD({1, 2, 3}) yields 1.
Example: stdev({1, 2, 3}) yields 1.


SampleSD( <List of Numbers>, <List of Frequencies> )
Returns the sample standard deviation of the numbers having the given frequencies.
Example: SampleSD({1, 2, 3, 4, 4},{1, 1, 1, 2}) yields 1.08.


Note Hint: If the list contains undefined variables in the Menu view cas.svg 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}}.
© 2024 International GeoGebra Institute