Function reference · Statistics

stdev

Computes the population standard deviation.

stdev returns the square root of population variance. It accepts separate values or a single vector and preserves an exact symbolic radical when possible.

Examples

These examples use Nerdamer Notation.

Compute standard deviation for two values.

stdev(1,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(...).

stdev(arg1, ...)

nerdamer.stdev

Call the operation through the default nerdamer import.

nerdamer.stdev(...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 { stdev } from 'nerdamer/statistics';
stdev(...args: StatisticsInput[]): Expression

Parameters

NameTypeDescription
argsStatisticsInput[]—

Returns

Expression

Browse nerdamer/statistics →

← Back to Function reference