gov.sandia.cognition.statistics

## Interface UnivariateDistribution<NumberType extends java.lang.Number>

• ### Method Summary

All Methods
Modifier and Type Method and Description
`CumulativeDistributionFunction<NumberType>` `getCDF()`
Gets the CDF of a scalar distribution.
`NumberType` `getMaxSupport()`
Gets the minimum support (domain or input) of the distribution.
`double` `getMeanAsDouble()`
Gets the mean of the distribution as a double.
`NumberType` `getMinSupport()`
Gets the minimum support (domain or input) of the distribution.
`double` `getVariance()`
Gets the variance of the distribution.
• ### Methods inherited from interface gov.sandia.cognition.statistics.DistributionWithMean

`getMean`
• ### Methods inherited from interface gov.sandia.cognition.statistics.Distribution

`sample, sample, sampleInto`
• ### Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable

`clone`
• ### Method Detail

• #### getMinSupport

`NumberType getMinSupport()`
Gets the minimum support (domain or input) of the distribution.
Returns:
Minimum support.
• #### getMaxSupport

`NumberType getMaxSupport()`
Gets the minimum support (domain or input) of the distribution.
Returns:
Minimum support.
• #### getCDF

`CumulativeDistributionFunction<NumberType> getCDF()`
Gets the CDF of a scalar distribution.
Returns:
CDF of the scalar distribution.
• #### getMeanAsDouble

`double getMeanAsDouble()`
Gets the mean of the distribution as a double.
Returns:
The mean as a double.
• #### getVariance

`double getVariance()`
Gets the variance of the distribution. This is sometimes called the second central moment by more pedantic people, which is equivalent to the square of the standard deviation.
Returns:
Variance of the distribution.