standardError

Computes the standard error of the mean for the values in this iterable.

The standard error estimates how much the sample mean is expected to vary from the true population mean. It equals the sample standard deviation divided by the square root of the sample size. Smaller values indicate a more precise estimate of the population mean.

Example:

listOf(1.0, 2.0, 3.0, 4.0, 5.0).standardError() // 0.7071...

Return

the standard error of the mean.


Computes the standard error of the mean for the values in this array.

The standard error equals the sample standard deviation divided by the square root of the sample size.

Example:

doubleArrayOf(1.0, 2.0, 3.0, 4.0, 5.0).standardError() // 0.7071...

Return

the standard error of the mean.


Computes the standard error of the mean for the values in this sequence.

The sequence is materialized internally. See DoubleArray.standardError for details.

Return

the standard error of the mean.