GammaStatistic

Minimal sufficient and complete statistic for the gamma disributoin.

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

Constructors

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

Members

Variables

mean
T mean;

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

meanl
T meanl;

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

Meta