public class ParetoDistribution extends java.lang.Object implements IDistribution
| Constructor and Description |
|---|
ParetoDistribution(double scale,
double shape)
Creates new Pareto distribution.
|
| Modifier and Type | Method and Description |
|---|---|
double |
DistributionFunction(double x)
Gets the cumulative distribution function (cdf) for this distribution evaluated at point
|
double |
Entropy()
Gets the entropy for this distribution.
|
double |
LogProbabilityDensityFunction(double x)
Gets the log-probability density function (pdf) for this distribution evaluated at point
|
double |
Mean()
Gets the mean for this distribution.
|
double |
Median()
Gets the median for this distribution.
|
double |
Mode()
Gets the mode for this distribution.
|
double |
ProbabilityDensityFunction(double x)
Gets the probability density function (pdf) for this distribution evaluated at point
|
double |
Variance()
Gets the variance for this distribution.
|
public ParetoDistribution(double scale,
double shape)
scale - The scale parameter x.shape - The shape parameter alpha.public double Mean()
IDistributionMean in interface IDistributionpublic double Variance()
IDistributionVariance in interface IDistributionpublic double Entropy()
IDistributionEntropy in interface IDistributionpublic double Mode()
public double Median()
public double DistributionFunction(double x)
IDistributionDistributionFunction in interface IDistributionx - A single point in the distribution range.public double ProbabilityDensityFunction(double x)
IDistributionProbabilityDensityFunction in interface IDistributionx - A single point in the distribution range.public double LogProbabilityDensityFunction(double x)
IDistributionLogProbabilityDensityFunction in interface IDistributionx - A single point in the distribution range.