Binomial |
public class BinomialDistribution : ProbabilityDistribution
The BinomialDistribution type exposes the following members.
| Name | Description | |
|---|---|---|
| BinomialDistribution(Double, Int32) | Initializes a new instance of the BinomialDistribution class | |
| BinomialDistribution(Double, Int32, RandomGenerator) | Initializes a new instance of the BinomialDistribution class |
| Name | Description | |
|---|---|---|
| Generator | Returns the random generator used by the distribution to generate the random values. (Inherited from ProbabilityDistribution) | |
| Num | ||
| Prob |
| Name | Description | |
|---|---|---|
| CDF(Double) | (Overrides ProbabilityDistributionCDF(Double)) | |
| CDF(Double, Double, Int32) | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Initialize | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NextDouble | (Overrides ProbabilityDistributionNextDouble) | |
| PDF(Double) | (Overrides ProbabilityDistributionPDF(Double)) | |
| PDF(Double, Double, Int32) | ||
| Quantile | (Overrides ProbabilityDistributionQuantile(Double)) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| en | ||
| en1 | ||
| gamen1 | ||
| generator | Pointer to generator. (Inherited from ProbabilityDistribution) | |
| n | ||
| np | ||
| npexp | ||
| p | ||
| pc | ||
| pclog | ||
| plog | ||
| scale | ||
| scalepi | ||
| sq | ||
| sym |
Returns a binomial distributed deviate (integer returned in a double) according to the distribution: j+eps / n \ j n-j integral p (m) dm = | | q (1-q) j-eps n,q \ j / References: D. E. Knuth: The Art of Computer Programming, Vol. 2, Seminumerical Algorithms, pp. 120, 2nd edition, 1981. // W. H. Press, B. P. Flannery, S. A. Teukolsky, W. T. Vetterling, Numerical Recipies in C, Cambridge Univ. Press, 1988.