GammaDist
index
/Users/amos/Documents/Database/Mental/Programming/python/lib/avatar/Personal2/www.amos/Python/lib/mathlib/Probability/GammaDist.py

Gamma.py

 
Classes
       
Probability.Affine(Probability.Probability)
GammaDist
Chi2
Probability.Probability
GammaDistBase

 
class Chi2(GammaDist)
    
Method resolution order:
Chi2
GammaDist
Probability.Affine
Probability.Probability

Methods defined here:
__init__(self, nDF)
__repr__(self)

Methods inherited from Probability.Affine:
Affine(self, xZ)
Density(self, x)
Distribution(self, x)
InverseDistribution(self, y)
Sample(self)
Standardize(self, xX)
getMean(self)
getVariance(self)

Methods inherited from Probability.Probability:
DensityTest(self, xX, **dArgs)
Compare the Density() with the numerically differentiated Distribution().
 
This doesn't make much sense in the abstract base class. But in general, the Density() method will be redefined, and this will be a real test.
InverseTest(self, xY, **dArgs)
Run a y value through InverseDistribution and then through Distribution, and compare the results.
__str__(self)
getIQR(self)
getMedian(self)
getStDev(self)
html(self)

 
class GammaDist(Probability.Affine)
    
Method resolution order:
GammaDist
Probability.Affine
Probability.Probability

Methods defined here:
__init__(self, xAlpha, xBeta)
__repr__(self)

Methods inherited from Probability.Affine:
Affine(self, xZ)
Density(self, x)
Distribution(self, x)
InverseDistribution(self, y)
Sample(self)
Standardize(self, xX)
getMean(self)
getVariance(self)

Methods inherited from Probability.Probability:
DensityTest(self, xX, **dArgs)
Compare the Density() with the numerically differentiated Distribution().
 
This doesn't make much sense in the abstract base class. But in general, the Density() method will be redefined, and this will be a real test.
InverseTest(self, xY, **dArgs)
Run a y value through InverseDistribution and then through Distribution, and compare the results.
__str__(self)
getIQR(self)
getMedian(self)
getStDev(self)
html(self)

 
class GammaDistBase(Probability.Probability)
     Methods defined here:
Density(self, x)
Distribution(self, x)
InverseDistribution(self, y)
__init__(self, xAlpha)
__repr__(self)
getMean(self)
getVariance(self)

Methods inherited from Probability.Probability:
DensityTest(self, xX, **dArgs)
Compare the Density() with the numerically differentiated Distribution().
 
This doesn't make much sense in the abstract base class. But in general, the Density() method will be redefined, and this will be a real test.
InverseTest(self, xY, **dArgs)
Run a y value through InverseDistribution and then through Distribution, and compare the results.
Sample(self)
Return a random sample distributed according to the probability law.
 
By default, pass a uniform random sample to InverseDistribution().
 
Similarly, passing a sample through Distribution() will give you a uniform sample on [0, 1].
__str__(self)
getIQR(self)
getMedian(self)
getStDev(self)
html(self)

 
Functions
       
exp(...)
exp(x)
 
Return e raised to the power of x.
pow(...)
pow(x,y)
 
Return x**y (x to the power of y).