HypergeometricDistribution Class |
Namespace: Meta.Numerics.Statistics.Distributions
The HypergeometricDistribution type exposes the following members.
Name | Description | |
---|---|---|
HypergeometricDistribution |
Initializes a new hypergeometric distribution with the given parameters.
|
Name | Description | |
---|---|---|
Draws |
Gets the number of draws parameter of the distribution.
| |
ExcessKurtosis |
Gets the excess kurtosis of the distribution.
(Inherited from UnivariateDistribution.) | |
FailurePopulation |
Gets the failure population parameter of the distribution.
| |
Mean |
Gets the mean of the distribution.
(Overrides DiscreteDistributionMean.) | |
Population |
Gets the total population parameter of the distribution.
| |
Skewness |
Gets the skewness of the distribution.
(Overrides UnivariateDistributionSkewness.) | |
StandardDeviation |
Gets the standard deviation of the distribution.
(Inherited from UnivariateDistribution.) | |
SuccessPopulation |
Gets the success population parameter of the distribution.
| |
Support |
Gets the interval over which the distribution is non-vanishing.
(Overrides DiscreteDistributionSupport.) | |
Variance |
Gets the variance of the distribution.
(Overrides UnivariateDistributionVariance.) |
Name | Description | |
---|---|---|
CentralMoment |
Gets a central moment of the distribution.
(Inherited from DiscreteDistribution.) | |
Cumulant |
Computes a cumulant of the distribution.
(Inherited from UnivariateDistribution.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExpectationValue |
Computes the expectation value of an artibrary function.
(Inherited from DiscreteDistribution.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRandomValue |
Produces a random integer drawn from the distribution.
(Inherited from DiscreteDistribution.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InverseLeftProbability |
Computes the value corresponding to the given percentile.
(Inherited from DiscreteDistribution.) | |
LeftExclusiveProbability |
Computes the probability of obtaining a value less than the given value.
(Overrides DiscreteDistributionLeftExclusiveProbability(Int32).) | |
LeftInclusiveProbability |
Computes the probability of obtaining a value less than or equal to the given value.
(Overrides DiscreteDistributionLeftInclusiveProbability(Int32).) | |
ProbabilityMass |
Returns the probability of the obtaining the given value.
(Overrides DiscreteDistributionProbabilityMass(Int32).) | |
RawMoment |
Gets a raw moment of the distribution.
(Inherited from DiscreteDistribution.) | |
RightExclusiveProbability |
Computes the probability of obtaining a value greater than the given value.
(Overrides DiscreteDistributionRightExclusiveProbability(Int32).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
A BinomialDistribution gives the probability of obtaining a given number of successes in a given number of drawns from an infinite population with a given fraction of successes an failures. (Equivilently, the infinite-population property is also sometimes expressed as making the draws "with replacement".) A hypergeometric distribution, by way of contrast, gives the probability of obtaining a given number of successes in a given number of draws from a finite population containing fixed numbers of successes and failures. Each of the draws in the binomial case is identical and independent, but in the hypergeometric case the draws are without replacement, so the outcome of previous draws affect the probability of obtaining success or failure in subsequent draws.