Package | Description |
---|---|
gov.sandia.cognition.statistics |
Provides the inheritance hierarchy for general statistical methods and distributions.
|
gov.sandia.cognition.statistics.distribution |
Provides statistical distributions.
|
gov.sandia.cognition.statistics.method |
Provides algorithms for evaluating statistical data and conducting statistical inference, particularly frequentist methods.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
DataDistribution.PMF<KeyType>
Interface for the probability mass function (PMF) of a data distribution.
|
Modifier and Type | Method and Description |
---|---|
ProbabilityMassFunction<DataType> |
DiscreteDistribution.getProbabilityFunction() |
ProbabilityMassFunction<DataType> |
ProbabilityMassFunction.getProbabilityFunction() |
Modifier and Type | Method and Description |
---|---|
static <DataType> double |
ProbabilityMassFunctionUtil.getEntropy(ProbabilityMassFunction<DataType> pmf)
Computes the information-theoretic entropy of the PMF in bits.
|
static <DataType> java.util.ArrayList<DataType> |
ProbabilityMassFunctionUtil.sample(ProbabilityMassFunction<DataType> pmf,
java.util.Random random,
int numSamples)
Samples from the ProbabilityMassFunction.
|
static <DataType> void |
ProbabilityMassFunctionUtil.sampleInto(ProbabilityMassFunction<DataType> pmf,
java.util.Random random,
int numSamples,
java.util.Collection<? super DataType> output)
Samples from the ProbabilityMassFunction.
|
static <DataType> java.util.ArrayList<DataType> |
ProbabilityMassFunctionUtil.sampleMultiple(ProbabilityMassFunction<DataType> pmf,
java.util.Random random,
int numSamples)
Samples from the ProbabilityMassFunction.
|
static <DataType> void |
ProbabilityMassFunctionUtil.sampleMultipleInto(ProbabilityMassFunction<DataType> pmf,
java.util.Random random,
int numSamples,
java.util.Collection<? super DataType> output)
Samples from the ProbabilityMassFunction.
|
static <DataType> DataType |
ProbabilityMassFunctionUtil.sampleSingle(ProbabilityMassFunction<DataType> pmf,
java.util.Random random)
Draws a single sample from the given PMF
|
Modifier and Type | Class and Description |
---|---|
static class |
BernoulliDistribution.PMF
PMF of the Bernoulli distribution.
|
static class |
BetaBinomialDistribution.PMF
PMF of the BetaBinomialDistribution
|
static class |
BinomialDistribution.PMF
The Probability Mass Function of a binomial distribution.
|
static class |
CategoricalDistribution.PMF
PMF of the Categorical Distribution
|
static class |
ChineseRestaurantProcess.PMF
PMF of the Chinese Restaurant Process
|
static class |
DefaultDataDistribution.PMF<KeyType>
PMF of the DefaultDataDistribution
|
static class |
DeterministicDistribution.PMF
PMF of the deterministic distribution.
|
static class |
GeometricDistribution.PMF
PMF of the Geometric distribution
|
static class |
MultinomialDistribution.PMF
Probability Mass Function of the Multinomial Distribution.
|
static class |
MultivariatePolyaDistribution.PMF
PMF of the MultivariatePolyaDistribution
|
static class |
NegativeBinomialDistribution.PMF
PMF of the NegativeBinomialDistribution.
|
static class |
PoissonDistribution.PMF
PMF of the PoissonDistribution.
|
static class |
ScalarDataDistribution.PMF
PMF of the ScalarDataDistribution
|
static class |
UniformIntegerDistribution.PMF
Probability mass function of a discrete uniform distribution.
|
static class |
YuleSimonDistribution.PMF
PMF of the Yule-Simon Distribution
|
Modifier and Type | Method and Description |
---|---|
static <DomainType> |
ChiSquareConfidence.evaluateNullHypothesis(java.util.Collection<? extends DomainType> data,
ProbabilityMassFunction<DomainType> pmf)
Computes the chi-square test between a collection of data and a
Probability Mass Function that may have create the observed data.
|