Statistics::GammaFit Function

Overload List

#SignatureDescription
1void GammaFit(TVec *X, double &A, double &B, int MaxIter = 500, double Tolerance = 1E-8);Calculate parameters for Gamma distributed values using MLE.
2void GammaFit(TVec *X, double &A, double &B, DewArray<double> &PCIA, DewArray<double> &PCIB, int MaxIter = 500, double Tolerance = 1E-8, double Alpha = 0.05);Calculate parameters for Gamma distributed values.

Overload 1: void GammaFit(TVec *X, double &A, double &B, int MaxIter = 500, double Tolerance = 1E-8);

Calculate parameters for Gamma distributed values using MLE.

#NameTypeDescription
1XTVec *
2Adouble &
3Bdouble &
4MaxIter = 500int
5Tolerance = 1E-8double
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler

Overload 2: void GammaFit(TVec *X, double &A, double &B, DewArray<double> &PCIA, DewArray<double> &PCIB, int MaxIter = 500, double Tolerance = 1E-8, double Alpha = 0.05);

Calculate parameters for Gamma distributed values.

#NameTypeDescription
1XTVec *Stores data which is assumed to be Gamma distributed.
2Adouble &Return Gamma distribution parameter estimator A.
3Bdouble &Return Gamma distribution parameter estimator B.
4PCIADewArray<double> &A (1-Alpha)*100 percent confidence interval.
5PCIBDewArray<double> &B (1-Alpha)*100 percent confidence interval.
6MaxIter = 500intMaximum number of iterations needed for deriving a and b.
7Tolerance = 1E-8doubleDefines the acceptable tolerance for calculating a and b.
8Alpha = 0.05doubleConfidence interval percentage.
See Also: RandomGamma, GammaStat
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler