public interface Distribution extends Serializable
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getCumulativeProbabilityAt(double x,
MathContext mathContext)
Returns the cumulative density function value at a given position.
|
BigDecimal |
getDescendingCumulativeProbabilityAt(double x,
MathContext mathContext)
Returns the cumulative density function value at a given position when
starting from the high values.
|
BigDecimal |
getMaxValueForProbability(double p,
MathContext mathContext)
The value after which the density function will be smaller than p.
|
BigDecimal |
getMinValueForProbability(double p,
MathContext mathContext)
The value before which the density function will be smaller than p.
|
BigDecimal |
getProbabilityAt(double x,
MathContext mathContext)
Returns the density function value at a given position.
|
BigDecimal |
getSmallestCumulativeProbabilityAt(double x,
MathContext mathContext)
Returns the cumulative density function value at a given position, starting from the low values if before the median, from the high otherwise.
|
BigDecimal |
getValueAtCumulativeProbability(double p,
MathContext mathContext)
The value after which the cumulative density function will be smaller
than p.
|
BigDecimal |
getValueAtDescendingCumulativeProbability(double p,
MathContext mathContext)
The value after which the cumulative density function will be smaller
than p when starting from high values.
|
BigDecimal getProbabilityAt(double x, MathContext mathContext)
x
- the position of interestmathContext
- the math context to use for calculationBigDecimal getCumulativeProbabilityAt(double x, MathContext mathContext) throws org.apache.commons.math.MathException
x
- the position of interestmathContext
- the math context to use for calculationorg.apache.commons.math.MathException
- if a MathException occursBigDecimal getDescendingCumulativeProbabilityAt(double x, MathContext mathContext) throws org.apache.commons.math.MathException
x
- the position of interestmathContext
- the math context to use for calculationorg.apache.commons.math.MathException
- if a MathException occursBigDecimal getSmallestCumulativeProbabilityAt(double x, MathContext mathContext) throws org.apache.commons.math.MathException
x
- the position of interestmathContext
- the math context to use for calculationorg.apache.commons.math.MathException
- if a MathException occursBigDecimal getMaxValueForProbability(double p, MathContext mathContext)
p
- the probability of interestmathContext
- the math context to use for calculationBigDecimal getMinValueForProbability(double p, MathContext mathContext)
p
- the probability of interestmathContext
- the math context to use for calculationBigDecimal getValueAtCumulativeProbability(double p, MathContext mathContext) throws org.apache.commons.math.MathException
p
- the probability of interestmathContext
- the math context to use for calculationorg.apache.commons.math.MathException
- if a MathException occursBigDecimal getValueAtDescendingCumulativeProbability(double p, MathContext mathContext) throws org.apache.commons.math.MathException
p
- the probability of interestmathContext
- the math context to use for calculationorg.apache.commons.math.MathException
- if a MathException occursCopyright © 2015. All rights reserved.