DispersionAnalysisDTO

@Serializable
data class DispersionAnalysisDTO(val indexOfDispersion: Double, val poissonVarianceTestStatistic: Double, val degreesOfFreedom: Int, val upperPValue: Double, val lowerPValue: Double, val twoSidedPValue: Double)(source)

Wire-safe, dataset-level dispersion analysis for a discrete data series — the content of the standard report's "Dispersion Analysis" section. The index of dispersion is Var/Mean and the test statistic is T = (n−1)·Var/Mean, referred to a chi-squared distribution with degreesOfFreedom = n−1. The three p-values let a data/AI client read the dispersion conclusion without the chi-squared math.

Computed once from the data statistics via DiscretePMFGoodnessOfFit.poissonDispersionTest. Discrete-only; null on the continuous path.

Constructors

Link copied to clipboard
constructor(indexOfDispersion: Double, poissonVarianceTestStatistic: Double, degreesOfFreedom: Int, upperPValue: Double, lowerPValue: Double, twoSidedPValue: Double)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard