Chalkboard - v3.0.4
    Preparing search index...

    Function zscored

    • Calculates the standardization of the elements of an array according to their mean and standard deviation.

      Parameters

      • arr: number[]

        The array

      Returns number[]

      const result = Chalkboard.stat.zscored([2, 4, 4, 4, 5, 5, 7, 9]); // Returns the z-scores