|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.statistics.ProbabilityDistribution JSci.maths.statistics.ExponentialDistribution
The ExponentialDistribution class provides an object for encapsulating exponential distributions.
Constructor Summary | |
ExponentialDistribution()
Constructs the standard exponential distribution. |
|
ExponentialDistribution(double decay)
Constructs an exponential distribution. |
|
ExponentialDistribution(double[] array)
Constructs an exponential distribution from a data set. |
Method Summary | |
double |
cumulative(double X)
Cumulative exponential distribution function. |
double |
getMean()
Returns the mean. |
double |
getScaleParameter()
Returns the scale parameter. |
double |
getVariance()
Returns the variance. |
double |
inverse(double probability)
Inverse of the cumulative exponential distribution function. |
double |
probability(double X)
Probability density function of an exponential distribution. |
Methods inherited from class JSci.maths.statistics.ProbabilityDistribution |
checkRange, checkRange, findRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExponentialDistribution()
public ExponentialDistribution(double decay)
decay
- the scale parameter.public ExponentialDistribution(double[] array)
array
- a sample.Method Detail |
public double getScaleParameter()
public double getMean()
public double getVariance()
public double probability(double X)
probability
in class ProbabilityDistribution
public double cumulative(double X)
cumulative
in class ProbabilityDistribution
public double inverse(double probability)
inverse
in class ProbabilityDistribution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |