std

internal fun <T : Number> Sequence<T?>.std(type: KType, skipNaN: Boolean, ddof: Int): Double

Calculates the standard deviation from this with optional delta degrees of freedom.

Parameters

ddof

delta degrees of freedom, the bias-correction of std. Default is ddofDefault, so ddof = 1, the "unbiased sample standard deviation", but alternatively, the "population standard deviation", so ddof = 0, can be used.


@JvmName(name = "doubleStd")
internal fun Sequence<Double>.std(skipNaN: Boolean = skipNaNDefault, ddof: Int = ddofDefault): Double


internal fun BasicStats.std(ddof: Int): Double

Calculates the standard deviation from a BasicStats with optional delta degrees of freedom.

Parameters

ddof

delta degrees of freedom, the bias-correction of std. Default is ddofDefault, so ddof = 1, the "unbiased sample standard deviation", but alternatively, the "population standard deviation", so ddof = 0, can be used.