Function reference · Statistics
smpstdev
Computes the sample standard deviation.
smpstdev returns the square root of sample variance, using an n-1 denominator. The direct nerdamer/statistics export also provides the descriptive name sampleStandardDeviation.
Examples
These examples use Nerdamer Notation.
Compute the sample standard deviation.
smpstdev(1,2,3)
// → 1Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
smpstdev(arg1, ...)
nerdamer.smpstdev
Call the operation through the default nerdamer import.
nerdamer.smpstdev(...args: StatisticsInput[]): Expression
Parameters
| Name | Type | Description |
|---|---|---|
args | StatisticsInput[] | — |
Returns
Direct JavaScript / TypeScript API
Import the operation directly from its package entry point.
import { smpstdev } from 'nerdamer/statistics';
(...args: StatisticsInput[]): Expression
Parameters
| Name | Type | Description |
|---|---|---|
args | StatisticsInput[] | — |
