standardizedZScores method

List<num> standardizedZScores(
  1. num mu,
  2. num sigma
)

The z score associated with each value under the assumption the sampled population has mean μ and standard deviation σ.

Implementation

List<num> standardizedZScores(num mu, num sigma) =>
    [for (var i = 0; i < length; i++) (this[i] - mu) / sigma];