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)
// → 1

Interfaces

The same operation is available through the interfaces below.

Nerdamer Notation · nerdamer API · Direct API

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

NameTypeDescription
argsStatisticsInput[]—

Returns

Expression

Browse the nerdamer API →

Direct JavaScript / TypeScript API

Import the operation directly from its package entry point.

import { smpstdev } from 'nerdamer/statistics';
(...args: StatisticsInput[]): Expression

Parameters

NameTypeDescription
argsStatisticsInput[]—

Returns

Expression

Browse nerdamer/statistics →

← Back to Function reference