Moments

class Moments(val mean: Metric, val lowerCi: Metric?, val upperCi: Metric?, val variance: Metric?, val sampleCount: () -> Long? = null)

Statistical moments of a metric (mean, confidence intervals, variance).

Constructors

Link copied to clipboard
constructor(mean: Metric, lowerCi: Metric?, upperCi: Metric?, variance: Metric?, sampleCount: () -> Long? = null)

Properties

Link copied to clipboard

the lower bound of the confidence interval (null if not computed)

Link copied to clipboard

the mean (expected value) of the metric

Link copied to clipboard
val sampleCount: () -> Long?

a lambda that returns the number of samples (null if not available)

Link copied to clipboard

the upper bound of the confidence interval (null if not computed)

Link copied to clipboard

the variance of the metric (null if not computed)