SampleStatistics

public class SampleStatistics

Sample statistics, assumes normal distribution.

  • min

    Minimum sample value.

    Declaration

    Swift

    public var min: Double?
  • max

    Maximum sample value.

    Declaration

    Swift

    public var max: Double?
  • Sample size.

    Declaration

    Swift

    public var count: Int64 { get }
  • Mean sample value.

    Declaration

    Swift

    public var mean: Double? { get }
  • Sample variance.

    Declaration

    Swift

    public var variance: Double? { get }
  • Sample standard deviation.

    Declaration

    Swift

    public var standardDeviation: Double? { get }
  • Undocumented

    Declaration

    Swift

    public init()
  • Add sample value x.

    Declaration

    Swift

    public func add(_ x: Double)