Beta Class |
public class Beta : IContinuousDistribution, IUnivariateDistribution, IDistribution
The Beta type exposes the following members.
Name | Description | |
---|---|---|
Beta(Double, Double) | Initializes a new instance of the Beta class. | |
Beta(Double, Double, Random) | Initializes a new instance of the Beta class. |
Name | Description | |
---|---|---|
A | Gets the α shape parameter of the Beta distribution. Range: α ≥ 0. | |
B | Gets the β shape parameter of the Beta distribution. Range: β ≥ 0. | |
Entropy | Gets the entropy of the Beta distribution. | |
Maximum | Gets the maximum of the Beta distribution. | |
Mean | Gets the mean of the Beta distribution. | |
Median | Gets the median of the Beta distribution. | |
Minimum | Gets the minimum of the Beta distribution. | |
Mode | Gets the mode of the Beta distribution; when there are multiple answers, this routine will return 0.5. | |
RandomSource | Gets or sets the random number generator which is used to draw random samples. | |
Skewness | Gets the skewness of the Beta distribution. | |
StdDev | Gets the standard deviation of the Beta distribution. | |
Variance | Gets the variance of the Beta distribution. |
Name | Description | |
---|---|---|
CDF | Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x). | |
CumulativeDistribution | Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x). | |
Density | Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x. | |
DensityLn | Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x). | |
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) | |
InvCDF | Computes the inverse of the cumulative distribution function (InvCDF) for the distribution at the given probability. This is also known as the quantile or percent point function. | |
InverseCumulativeDistribution | Computes the inverse of the cumulative distribution function (InvCDF) for the distribution at the given probability. This is also known as the quantile or percent point function. | |
IsValidParameterSet | Tests whether the provided values are valid parameters for this distribution. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x. | ||
PDFLn | Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x). | |
Sample | Generates a sample from the Beta distribution. | |
Sample(Double, Double) | Generates a sample from the distribution. | |
Sample(Random, Double, Double) | Generates a sample from the distribution. | |
Samples | Generates a sequence of samples from the Beta distribution. | |
Samples(Double) | Fills an array with samples generated from the distribution. | |
Samples(Double, Double) | Generates a sequence of samples from the distribution. | |
Samples(Double, Double, Double) | Fills an array with samples generated from the distribution. | |
Samples(Random, Double, Double) | Generates a sequence of samples from the distribution. | |
Samples(Random, Double, Double, Double) | Fills an array with samples generated from the distribution. | |
ToString |
A string representation of the distribution.
(Overrides ObjectToString) |