InverseGammaStatistic

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

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

Constructors

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

Members

Variables

meani
T meani;

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

meanl
T meanl;

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

Meta