public class Weibull extends ContinuousDistribution
The Weibull distribution.
References:
Constructor and Description |
---|
Weibull()
Default constructor.
|
Weibull(double sh,
double sc)
Create a distribution with the given parameters.
|
Weibull(double sh,
double sc,
double l)
Create a distribution with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Weibull()
public Weibull(double sh, double sc)
sh
- the shape parameter.sc
- the scale parameter.public Weibull(double sh, double sc, double l)
sh
- the shape parameter.sc
- the scale parameter.l
- the location parameter.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.Jas4pp 1.5 © Java Analysis Studio for Particle Physics