Contents

standardDeviation(deltaDegreesOfFreedom:)

Returns the standard deviation of the integer column’s elements.

Declaration

func standardDeviation(deltaDegreesOfFreedom: Int = 1) -> Double?

Parameters

  • deltaDegreesOfFreedom:

    A nonnegative integer. The method calculates the standard deviation’s divisor by subtracting this parameter from the number of non-nil elements (n - deltaDegreesOfFreedom where n is the number of non-nil elements).

Return Value

The standard deviation; otherwise, nil if there are fewer than deltaDegreesOfFreedom + 1 non-nil items in the column.

See Also

Getting Statistical Values