kumulant

CovarianceResult

@Serializable
@SerialName(value = "CovarianceResult")
data class CovarianceResult(val totalWeights: Double, val meanX: Double, val meanY: Double, val sxy: Double, val sxx: Double, val syy: Double) : Result(source)

Weighted covariance snapshot with second-moment sums usable for merging.

Constructors

Link copied to clipboard
constructor(totalWeights: Double, meanX: Double, meanY: Double, sxy: Double, sxx: Double, syy: Double)

Properties

Link copied to clipboard

Pearson correlation coefficient.

Link copied to clipboard

Sample covariance sxy / totalWeights.

Link copied to clipboard

Weighted running mean of x.

Link copied to clipboard

Weighted running mean of y.

Link copied to clipboard
val sxx: Double

Sum of squared deviations in x: Sum (x - meanX)^2 * w.

Link copied to clipboard
val sxy: Double

Sum of cross-deviations: Sum (x - meanX)(y - meanY) * w.

Link copied to clipboard
val syy: Double

Sum of squared deviations in y: Sum (y - meanY)^2 * w.

Link copied to clipboard

Cumulative observation weight folded in.

Link copied to clipboard

Population variance of x.

Link copied to clipboard

Population variance of y.

CovarianceResult

constructor(totalWeights: Double, meanX: Double, meanY: Double, sxy: Double, sxx: Double, syy: Double)(source)

correlation

Pearson correlation coefficient.

covariance

Sample covariance sxy / totalWeights.

meanX

Weighted running mean of x.

meanY

Weighted running mean of y.

sxx

Sum of squared deviations in x: Sum (x - meanX)^2 * w.

sxy

Sum of cross-deviations: Sum (x - meanX)(y - meanY) * w.

syy

Sum of squared deviations in y: Sum (y - meanY)^2 * w.

totalWeights

Cumulative observation weight folded in.

varX

Population variance of x.

varY

Population variance of y.