poisson Dispersion Test
fun poissonDispersionTest(mean: Double, variance: Double, sampleSize: Double): PoissonDispersionResult(source)
Computes the full Poisson dispersion test from the sample moments: the index of dispersion (Var/Mean), the test statistic T = (n−1)·Var/Mean, its degrees of freedom (n−1), and the three p-values (via poissonDispersionPValues). A zero mean yields NaN for the index and T.
Parameters
mean
the sample average
variance
the sample variance
sample Size
the number of observations