Probabilities::ExponentStat Function

void ExponentStat(double Mu, double &AMean, double &AVariance, double &ASkewness, double &AKurtosis);

Exponential distribution moments (mean, variance, skewness, excess kurtosis).

#NameTypeDescription
1MudoubleScale parameter (= the distribution mean), real value > 0.
2AMeandouble &Returns the mean, = Mu.
3AVariancedouble &Returns the variance, = Mu^2.
4ASkewnessdouble &Returns the skewness, = 2.
5AKurtosisdouble &Returns the EXCESS kurtosis, = 6.
Remarks:

Returns the moments of the exponential distribution with scale (mean) mu. If mu <= 0 all four outputs are NAN.

Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler