public final class ParetoDistribution extends ProbabilityDistribution
Constructor and Description |
---|
ParetoDistribution(double sh,
double sc)
Constructs a Pareto distribution.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulative(double X)
Cumulative Pareto distribution function.
|
double |
getMean()
Returns the mean.
|
double |
getScaleParameter()
Returns the scale parameter.
|
double |
getShapeParameter()
Returns the shape parameter.
|
double |
getVariance()
Returns the variance.
|
double |
inverse(double probability)
Inverse of the cumulative Pareto distribution function.
|
double |
probability(double X)
Probability density function of a Pareto distribution.
|
checkRange, checkRange, findRoot
public ParetoDistribution(double sh, double sc)
sh
- the shape.sc
- the scale.public double getShapeParameter()
public double getScaleParameter()
public double getMean()
public double getVariance()
public double probability(double X)
probability
in class ProbabilityDistribution
public double cumulative(double X)
cumulative
in class ProbabilityDistribution
public double inverse(double probability)
inverse
in class ProbabilityDistribution