|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.sandia.cognition.util.AbstractCloneableSerializable
gov.sandia.cognition.statistics.AbstractDistribution<NumberType>
gov.sandia.cognition.statistics.AbstractClosedFormUnivariateDistribution<Double>
gov.sandia.cognition.statistics.AbstractClosedFormSmoothUnivariateDistribution
gov.sandia.cognition.statistics.distribution.ParetoDistribution
gov.sandia.cognition.statistics.distribution.ParetoDistribution.CDF
public static class ParetoDistribution.CDF
CDF of the Pareto Distribution.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class gov.sandia.cognition.statistics.distribution.ParetoDistribution |
---|
ParetoDistribution.CDF, ParetoDistribution.PDF |
Field Summary |
---|
Fields inherited from class gov.sandia.cognition.statistics.distribution.ParetoDistribution |
---|
DEFALUT_SCALE, DEFAULT_SHAPE, DEFAULT_SHIFT, scale, shape, shift |
Constructor Summary | |
---|---|
ParetoDistribution.CDF()
Creates a new instance of CDF |
|
ParetoDistribution.CDF(double shape,
double scale,
double shift)
Creates a new instance of CDF |
|
ParetoDistribution.CDF(ParetoDistribution other)
Copy constructor |
Method Summary | |
---|---|
Double |
differentiate(Double input)
Differentiates the output with respect to the input |
double |
evaluate(double input)
Produces a double output for the given double input |
Double |
evaluate(Double input)
Evaluates the function on the given input and returns the output. |
double |
evaluateAsDouble(Double input)
Evaluates the scalar function as a double. |
ParetoDistribution.CDF |
getCDF()
Gets the CDF of a scalar distribution. |
ParetoDistribution.PDF |
getDerivative()
Gets the closed-form derivative of the function. |
Double |
inverse(double probability)
Computes the inverse of the CDF for the given probability. |
Methods inherited from class gov.sandia.cognition.statistics.distribution.ParetoDistribution |
---|
clone, convertFromVector, convertToVector, getMaxSupport, getMean, getMinSupport, getProbabilityFunction, getScale, getShape, getVariance, sample, setScale, setShape, setShift, toString |
Methods inherited from class gov.sandia.cognition.statistics.AbstractDistribution |
---|
sample |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gov.sandia.cognition.statistics.SmoothUnivariateDistribution |
---|
getMean, getProbabilityFunction |
Methods inherited from interface gov.sandia.cognition.statistics.UnivariateDistribution |
---|
getMaxSupport, getMinSupport, getVariance |
Methods inherited from interface gov.sandia.cognition.statistics.Distribution |
---|
sample, sample |
Methods inherited from interface gov.sandia.cognition.math.matrix.Vectorizable |
---|
clone, convertFromVector, convertToVector |
Constructor Detail |
---|
public ParetoDistribution.CDF()
public ParetoDistribution.CDF(double shape, double scale, double shift)
shape
- Scale parameter, must be greater than zero.scale
- Scale parameter, must be greater than zero.shift
- Amount to shift the distribution to the left.public ParetoDistribution.CDF(ParetoDistribution other)
other
- ParetoDistribution to copyMethod Detail |
---|
public Double evaluate(Double input)
Evaluator
evaluate
in interface Evaluator<Double,Double>
input
- The input to evaluate.
public double evaluateAsDouble(Double input)
ScalarFunction
evaluateAsDouble
in interface ScalarFunction<Double>
input
- The input value.
public double evaluate(double input)
UnivariateScalarFunction
evaluate
in interface UnivariateScalarFunction
input
- Input to the Evaluator
public ParetoDistribution.CDF getCDF()
UnivariateDistribution
getCDF
in interface ClosedFormUnivariateDistribution<Double>
getCDF
in interface SmoothUnivariateDistribution
getCDF
in interface UnivariateDistribution<Double>
getCDF
in class ParetoDistribution
public ParetoDistribution.PDF getDerivative()
ClosedFormDifferentiableEvaluator
getDerivative
in interface ClosedFormDifferentiableEvaluator<Double,Double,Double>
getDerivative
in interface SmoothCumulativeDistributionFunction
public Double differentiate(Double input)
DifferentiableEvaluator
differentiate
in interface DifferentiableEvaluator<Double,Double,Double>
input
- Input about which to compute the derivative
public Double inverse(double probability)
InvertibleCumulativeDistributionFunction
inverse
in interface InvertibleCumulativeDistributionFunction<Double>
probability
- Probability to invert.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |