GeneralizedInverseGaussinStatistic

Minimal sufficient and complete statistic for the generalized inverse Gaussin disributoin.

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

Constructors

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

Members

Functions

opCast
C opCast()
opCast
C opCast()
opCast
C opCast()

Variables

mean
T mean;

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

meani
T meani;

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

meanl
T meanl;

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

Meta