|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJSci.maths.statistics.ProbabilityDistribution
JSci.maths.statistics.GeometricDistribution
The GeometricDistribution class provides an object for encapsulating geometric distributions.
| Constructor Summary | |
GeometricDistribution(double prob)
Constructs a geometric distribution. |
|
| Method Summary | |
double |
cumulative(double X)
Cumulative geometric distribution function. |
double |
getMean()
Returns the mean. |
double |
getSuccessParameter()
Returns the success parameter. |
double |
getVariance()
Returns the variance. |
double |
inverse(double probability)
Inverse of the cumulative geometric distribution function. |
double |
probability(double X)
Probability density function of a geometric 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 GeometricDistribution(double prob)
prob - the probability of success.| Method Detail |
public double getSuccessParameter()
public double getMean()
public double getVariance()
public double probability(double X)
probability in class ProbabilityDistributionX - should be integer-valued.
public double cumulative(double X)
cumulative in class ProbabilityDistributionX - should be integer-valued.
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 | |||||||||