GammaStatistic

Minimal sufficient and complete statistic for the gamma disributoin.

struct GammaStatistic (
T
) if (
isFloatingPoint!T
) {}

Constructors

this
this(T[] sample)
this
this(T[] sample, T[] weights)

Members

Variables

mean
T mean;

Σ weights[j] * sample[j] / Σ weights[j]

meanl
T meanl;

Σ weights[j] * log(sample[j]) / Σ weights[j]

Meta