kumulant

MeanEstimate

data class MeanEstimate(val mean: Double, val effectiveSamples: Double, val responseVariance: Double, val knownNoiseVariance: Double?, val varianceOfMean: Double?)(source)

Weighted mean with separate response dispersion and uncertainty in its estimate.

Constructors

MeanEstimate

constructor(mean: Double, effectiveSamples: Double, responseVariance: Double, knownNoiseVariance: Double?, varianceOfMean: Double?)(source)

Properties

effectiveSamples

Kish effective sample size; invariant under a common rescaling of weights.

knownNoiseVariance

Weighted average supplied observation variance, null when none is supplied.

mean

Weighted response mean.

responseVariance

Unbiased weighted response dispersion, or zero when it cannot be estimated.

standardError

Standard error, infinite when a single unknown-noise observation cannot estimate it.

varianceOfMean

Maximum of empirical sampling variance and propagated known noise; null without enough evidence.

Functions

lowerBound

fun lowerBound(standardErrors: Double): Double(source)

Descriptive mean minus a standard-error multiple; not a sequential confidence bound.

upperBound

fun upperBound(standardErrors: Double): Double(source)

Descriptive mean plus a standard-error multiple; not a sequential confidence bound.