public class NonSymmetricalNormalDistribution extends ExperimentObject implements Distribution
NO_KEY
Constructor and Description |
---|
NonSymmetricalNormalDistribution()
Empty default constructor
|
NonSymmetricalNormalDistribution(double mean,
double stdDown,
double stdUp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getCumulativeProbabilityAt(double x)
Returns the cumulative density function value at a given position.
|
double |
getDescendingCumulativeProbabilityAt(double x)
Returns the cumulative density function value at a given position when
starting from the high values.
|
double |
getMaxValueForProbability(double p)
The value after which the density function will be smaller than p.
|
double |
getMean()
Returns the mean of the distribution.
|
double |
getMinValueForProbability(double p)
The value before which the density function will be smaller than p.
|
double |
getProbabilityAt(double x)
Returns the density function value at a given position.
|
static NonSymmetricalNormalDistribution |
getRobustNonSymmetricalNormalDistribution(ArrayList<Double> input)
Returns the non-symmetrical distribution of the input list of double
calibrated on the median, 15.9% and 84.1% percentiles.
|
static NonSymmetricalNormalDistribution |
getRobustNonSymmetricalNormalDistributionFromSortedArray(double[] input)
Returns the non-symmetrical distribution of the input array of double
calibrated on the median, 15.9% and 84.1% percentiles.
|
static NonSymmetricalNormalDistribution |
getRobustNonSymmetricalNormalDistributionFromSortedList(ArrayList<Double> input)
Returns the non-symmetrical distribution of the input list of double
calibrated on the median, 15.9% and 84.1% percentiles.
|
double |
getSmallestCumulativeProbabilityAt(double x)
Returns the cumulative density function value at a given position, starting from the low values if before the median, from the high otherwise.
|
double |
getStdDown()
Returns the standard deviation to the left of the distribution.
|
double |
getStdUp()
Returns the standard deviation to the right of the distribution.
|
double |
getValueAtCumulativeProbability(double p)
The value after which the cumulative density function will be smaller
than p.
|
double |
getValueAtDescendingCumulativeProbability(double p)
The value after which the cumulative density function will be smaller
than p when starting from high values.
|
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
public NonSymmetricalNormalDistribution()
public NonSymmetricalNormalDistribution(double mean, double stdDown, double stdUp)
mean
- the meanstdDown
- the standard deviation on the left of the meanstdUp
- the standard deviation on the right of the meanpublic double getStdUp()
public double getStdDown()
public double getMean()
public static NonSymmetricalNormalDistribution getRobustNonSymmetricalNormalDistribution(ArrayList<Double> input)
input
- the input listpublic static NonSymmetricalNormalDistribution getRobustNonSymmetricalNormalDistributionFromSortedList(ArrayList<Double> input)
input
- the input listpublic static NonSymmetricalNormalDistribution getRobustNonSymmetricalNormalDistributionFromSortedArray(double[] input)
input
- the input arraypublic double getProbabilityAt(double x)
Distribution
getProbabilityAt
in interface Distribution
x
- the position of interestpublic double getCumulativeProbabilityAt(double x)
Distribution
getCumulativeProbabilityAt
in interface Distribution
x
- the position of interestpublic double getDescendingCumulativeProbabilityAt(double x)
Distribution
getDescendingCumulativeProbabilityAt
in interface Distribution
x
- the position of interestpublic double getSmallestCumulativeProbabilityAt(double x)
Distribution
getSmallestCumulativeProbabilityAt
in interface Distribution
x
- the position of interestpublic double getMaxValueForProbability(double p)
Distribution
getMaxValueForProbability
in interface Distribution
p
- the probability of interestpublic double getMinValueForProbability(double p)
Distribution
getMinValueForProbability
in interface Distribution
p
- the probability of interestpublic double getValueAtCumulativeProbability(double p)
Distribution
getValueAtCumulativeProbability
in interface Distribution
p
- the probability of interestpublic double getValueAtDescendingCumulativeProbability(double p)
Distribution
getValueAtDescendingCumulativeProbability
in interface Distribution
p
- the probability of interestCopyright © 2021. All rights reserved.