import { computeStatisticalVariance } from "./computeStatisticalVariance.js";

/**
 *
 * @param {number[]} sample
 * @returns {number}
 */
export function computeStatisticalStandardDeviation(sample) {
    const variance = computeStatisticalVariance(sample);

    return Math.sqrt(variance);
}
