|
||||||||||
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.WeibullDistribution
The WeibullDistribution class provides an object for encapsulating Weibull distributions.
Constructor Summary | |
WeibullDistribution(double sh)
Constructs a Weibull distribution. |
Method Summary | |
double |
cumulative(double X)
Cumulative Weibull distribution function. |
double |
getMean()
Returns the mean. |
double |
getShapeParameter()
Returns the shape parameter. |
double |
getVariance()
Returns the variance. |
double |
inverse(double probability)
Inverse of the cumulative Weibull distribution function. |
double |
probability(double X)
Probability density function of a Weibull 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 WeibullDistribution(double sh)
sh
- the shape.Method Detail |
public double getShapeParameter()
public double getMean()
public double getVariance()
public double probability(double X)
probability
in class ProbabilityDistribution
X
- should be integer-valued.
public double cumulative(double X)
cumulative
in class ProbabilityDistribution
X
- 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 |