Multinomial Class |
public class Multinomial : IDistribution
The Multinomial type exposes the following members.
Name | Description | |
---|---|---|
Multinomial(Double, Int32) | Initializes a new instance of the Multinomial class. | |
Multinomial(Histogram, Int32) | Initializes a new instance of the Multinomial class from histogram h. The distribution will not be automatically updated when the histogram changes. | |
Multinomial(Double, Int32, Random) | Initializes a new instance of the Multinomial class. |
Name | Description | |
---|---|---|
Mean | Gets the mean of the distribution. | |
N | Gets the number of trials. | |
P | Gets the proportion of ratios. | |
RandomSource | Gets or sets the random number generator which is used to draw random samples. | |
Skewness | Gets the skewness of the distribution. | |
Variance | Gets the variance of the distribution. |
Name | Description | |
---|---|---|
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) | |
IsValidParameterSet | Tests whether the provided values are valid parameters for this distribution. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Probability | Computes values of the probability mass function. | |
ProbabilityLn | Computes values of the log probability mass function. | |
Sample | Samples one multinomial distributed random variable. | |
Sample(Random, Double, Int32) | Samples one multinomial distributed random variable. | |
Samples | Samples a sequence multinomially distributed random variables. | |
Samples(Random, Double, Int32) | Samples a multinomially distributed random variable. | |
ToString |
A string representation of the distribution.
(Overrides ObjectToString) |