Skip to main content
Module

x/simplestatistics/index.js>sampleStandardDeviation

simple statistics for node & browser javascript
Go to Latest
function sampleStandardDeviation
import { sampleStandardDeviation } from "https://deno.land/x/simplestatistics@v7.7.5/index.js";

The sample standard deviation is the square root of the sample variance.

Examples

sampleStandardDeviation([2, 4, 4, 4, 5, 5, 7, 9]).toFixed(2); // => '2.14'

Parameters

x

input array