Cumulative standard deviation: Difference between revisions
m
→{{header|Scilab}}: built-in function
PatGarrett (talk | contribs) (Add Scilab section) |
PatGarrett (talk | contribs) m (→{{header|Scilab}}: built-in function) |
||
Line 2,563:
=={{header|Scilab}}==
Scilab has the built-in function '''stdev''' to compute the standard deviation of a sample so it is straightforward to have the standard deviation of a sample with a correction of the bias.
<lang>T=[2,4,4,4,5,5,7,9];
T=[2,4,4,4,5,5,7,9];▼
▲stdev(T)*sqrt((length(T)-1)/length(T))
{{out}}
▲<pre>-->T=[2,4,4,4,5,5,7,9];
-->stdev(T)*sqrt((length(T)-1)/length(T))
ans = 2.
=={{header|Smalltalk}}==
|