InverseGammaStatistic

Minimal sufficient and complete statistic for the inverse-gamma disributoin.

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

Constructors

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

Members

Variables

meani
T meani;

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

meanl
T meanl;

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

Meta