|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution
net.sf.doodleproject.numerics4j.statistics.distribution.GammaDistribution
public class GammaDistribution
The Gamma distribution (1).
References:
| Constructor Summary | |
|---|---|
GammaDistribution()
Default constructor. |
|
GammaDistribution(double a,
double b)
Create a distribution with the given alpha and beta values. |
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution. |
double |
getAlpha()
Access the alpha parameter. |
double |
getBeta()
Access the beta parameter. |
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
void |
setAlpha(double a)
Modify the alpha parameter. |
void |
setBeta(double b)
Modify the beta parameter. |
| Methods inherited from class net.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution |
|---|
findInverseCumulativeProbability |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GammaDistribution()
public GammaDistribution(double a,
double b)
a - the alpha parameter.b - the beta parameter.| Method Detail |
|---|
public double cumulativeProbability(double x)
throws NumericException
cumulativeProbability in class ContinuousDistributionx - the value at which the CDF is evaluated.
NumericException - if the cumulative probability can not be
computed.public double getAlpha()
public double getBeta()
public double inverseCumulativeProbability(double p)
throws NumericException
inverseCumulativeProbability in class ContinuousDistributionp - the cumulative probability.
NumericException - if the inverse cumulative probability can not be
computed.public void setAlpha(double a)
a - the new alpha value.public void setBeta(double b)
b - the new beta value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||