NuGenHyperGeometricProbability overview
NuGenHyperGeometricProbability Constructor
|
The HyperGeometric probability is defined by: The equation: (rCy)*((N-r)C(n-y))/(NCn) where (x C y ) represents a combination, "x choose y" |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetExpectedValue | The expected value or population mean is defined by: E(Y) = n*r/N |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetResult (inherited from NuGenProbability) | This is the public function that is callable to compute a probability or a cumulative probability. For cumulative probabilities it is assumed that the Random Variables range is at least computable from zero to Y. Optimizations could be made to compute cumulative probabilities faster for events that have a very large number of FINITE trials by taking the shorter of the computable ranges and possibly subtracting from one if necessary. If the probability is set in the constructor then the value won't be undefined and will be immediately returned. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GetVariance | The variance is defined by: V(Y) = n * (r/N) * (N-r)/N * (N-n)/(N-1) |
ToString (inherited from Object) | Returns a String that represents the current Object. |
m_black | |
m_population | |
m_probability (inherited from NuGenProbability) | |
m_red | |
m_RV (inherited from NuGenProbability) | |
m_RVT (inherited from NuGenProbability) | |
m_sample | |
m_selectedset |
ComputeResult | The equation: (rCy)*((N-r)C(n-y))/(NCn) Computing the result The computation is composed of pure combinations which are handled in the same fashion as the Binomial and NegativeBinomial probabilities. The equation is broken up into numerators and denominators and then appropriately multiplied by or divided by depending on the running result being above or below 1.0. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
SetRV | Random variable |
NuGenHyperGeometricProbability Class | Genetibase.MathX Namespace