gov.sandia.cognition.statistics Interface UnivariateDistribution<NumberType extends Number>

Type Parameters:
NumberType - Type of Number that can be sampled from this distribution.
All Superinterfaces:
Cloneable, CloneableSerializable, Distribution<NumberType>, DistributionWithMean<NumberType>, Serializable
All Known Subinterfaces:
ClosedFormCumulativeDistributionFunction<DomainType>, ClosedFormDiscreteUnivariateDistribution<DomainType>, ClosedFormUnivariateDistribution<NumberType>, CumulativeDistributionFunction<NumberType>, InvertibleCumulativeDistributionFunction<NumberType>, SmoothCumulativeDistributionFunction, SmoothUnivariateDistribution, UnivariateProbabilityDensityFunction
All Known Implementing Classes:

public interface UnivariateDistribution<NumberType extends Number>
extends DistributionWithMean<NumberType>

A Distribution that takes Doubles as inputs and can compute its variance.

Since:
3.0
Author:
Kevin R. Dixon

Method Summary
CumulativeDistributionFunction<NumberType> getCDF()
Gets the CDF of a scalar distribution.
NumberType getMaxSupport()
Gets the minimum support (domain or input) of the distribution.
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

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.

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.