public final class WeibullDistribution extends ProbabilityDistribution
| Constructor and Description |
|---|
WeibullDistribution(double sh)
Constructs a Weibull distribution.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
checkRange, checkRange, findRootpublic WeibullDistribution(double sh)
sh - the shape.public double getShapeParameter()
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