NuGenSciMath

NuGenPoissonProbability Members

NuGenPoissonProbability overview

Public Instance Constructors

NuGenPoissonProbability Constructor The Poisson probability. The equation for this probability is: P(Y) = lambda^Y * e^lambda / Y!

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetExpectedValue The mean and the variance of a Poisson probability are the same.
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
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_changes 
m_poisson_average 
m_probability (inherited from NuGenProbability) 
m_RV (inherited from NuGenProbability) 
m_RVT (inherited from NuGenProbability) 

Protected Instance Methods

ComputeResult Computing the result. Similar in form to the Binomial and the Negative Binomial functions. Components are broken up into factors of lambda, e, and digits of the factorial in the denominator. Lambda is broken down into its integral and fractional form with the first calculation being multiplying the result by a power of e to this fractional form. Like the Binomial, the running result is made to hover around the value of one. If the result is over one then we divide by a denominator digit. If the result is less than one then we multiply by lambda or e.
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

See Also

NuGenPoissonProbability Class | Genetibase.MathX Namespace