Std()
Summary
Computes the standard deviation of an array of numbers.
Syntax
std_dev = Std(array input_values, integer flag)
| Argument | Contents |
|---|---|
| input_values | An array of numbers |
| flag | 0 to compute the population standard deviation; 1 to compute the sample standard deviation |
Returns
A real number indicating the standard deviation of the values in input_array.
Notes
-
The array must contain numbers only. Other types, including null, are not allowed.
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The array contains values that are null or are not numbers |
See Also
| Function | Summary |
|---|---|
| Var() | Returns the variance on an array of numbers |
| Mean() | Computes the mean (average) of the elements of an array |
| Median() | Computes the median of the elements of an array |
| Skew() | Returns the skew of the values in an array |
| Kurtosis() | Returns the kurtosis of a set of numbers |