• Compute the standard deviation of a sample.

    Parameters

    • data: number[]

      An array of numeric inputs

    Returns number

    The sample standard deviation

    const y = SMath.stdevs([1, 2, 3, 4]); // 1.29...
    
MMNEPVFCICPMFPCPTTAAATR