trimmedStd
Computes the standard deviation of the values after removing a fraction from each tail.
This is the square root of the trimmed variance. See trimmedVariance for details on how trimming works. A proportion of 0.0 gives the ordinary standard deviation.
Example:
doubleArrayOf(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0).trimmedStd(0.1) // 2.449...Return
the standard deviation of the remaining values after trimming.
Parameters
the fraction of values to remove from each tail, in [0.0, 0.5). For example, 0.1 removes the lowest 10% and highest 10%.
whether to compute sample or population standard deviation. Defaults to PopulationKind.SAMPLE, which divides by n-1 (Bessel's correction) where n is the count after trimming.
See also
Computes the standard deviation of the values after removing a fraction from each tail.
This is the square root of the trimmed variance. See trimmedVariance for details on how trimming works. A proportion of 0.0 gives the ordinary standard deviation.
Example:
listOf(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0).trimmedStd(0.1) // 2.449...Return
the standard deviation of the remaining values after trimming.
Parameters
the fraction of values to remove from each tail, in [0.0, 0.5). For example, 0.1 removes the lowest 10% and highest 10%.
whether to compute sample or population standard deviation. Defaults to PopulationKind.SAMPLE, which divides by n-1 (Bessel's correction) where n is the count after trimming.
See also
Computes the standard deviation of the values after removing a fraction from each tail.
This is the square root of the trimmed variance. See trimmedVariance for details on how trimming works. A proportion of 0.0 gives the ordinary standard deviation.
Example:
sequenceOf(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0).trimmedStd(0.1) // 2.449...Return
the standard deviation of the remaining values after trimming.
Parameters
the fraction of values to remove from each tail, in [0.0, 0.5). For example, 0.1 removes the lowest 10% and highest 10%.
whether to compute sample or population standard deviation. Defaults to PopulationKind.SAMPLE, which divides by n-1 (Bessel's correction) where n is the count after trimming.