GeneralizedGammaFixedPowerStatistic

Minimal sufficient and complete statistic for the generalized gamma disributoin with fixed power parameter.

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

Constructors

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

Members

Variables

meanl
T meanl;

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

meanp
T meanp;

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

Meta