|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution net.sf.doodleproject.numerics4j.statistics.distribution.WeibullDistribution
public class WeibullDistribution
The Weibull distribution.
References:
Constructor Summary | |
---|---|
WeibullDistribution()
Default constructor. |
|
WeibullDistribution(double sh,
double sc)
Create a distribution with the given parameters. |
|
WeibullDistribution(double sh,
double sc,
double l)
Create a distribution with the given parameters. |
Method Summary | |
---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution. |
double |
getLocation()
Access the location parameter. |
double |
getScale()
Access the scale parameter. |
double |
getShape()
Access the shape parameter. |
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
void |
setLocation(double l)
Modify the location parameter. |
void |
setScale(double s)
Modify the scale parameter. |
void |
setShape(double s)
Modify the shape 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 WeibullDistribution()
public WeibullDistribution(double sh, double sc)
sh
- the shape parameter.sc
- the scale parameter.public WeibullDistribution(double sh, double sc, double l)
sh
- the shape parameter.sc
- the scale parameter.l
- the location parameter.Method Detail |
---|
public double cumulativeProbability(double x)
cumulativeProbability
in class ContinuousDistribution
x
- the value at which the CDF is evaluated.
public double getLocation()
public double getScale()
public double getShape()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability
in class ContinuousDistribution
p
- the cumulative probability.
public void setLocation(double l)
l
- the new location parameter.public void setScale(double s)
s
- The new scale parameter.public void setShape(double s)
s
- the new shape parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |