Generates Beta distributed random numbers.
The implementation of the BetaDistribution type bases upon information presented on Wikipedia - Beta distribution and Xycoon - Beta Distribution.
Return Beta distributed random deviates according to the density a-1 b-1 x (1-x) p (x) dx = --------------- dx for 0 < x < 1 a,b B(a,b) = 0 otherwise References: R. C. H. Cheng, Generating Beta Variatew with Non-integral Shape Parameters, Comm. ACM, 21, 317-322 (1978). (Algorithms BB and BC)./// Wikipedia - Beta distribution and Xycoon - Beta Distribution.
Constructor | Description | ||
Full Usage:
BetaDistribution()
|
Initializes a new instance of the BetaDistribution class, using a StandardGenerator as underlying random number generator. |
||
|
Initializes a new instance of the BetaDistribution class, using the specified Generator as underlying random number generator.
|
||
Full Usage:
BetaDistribution(alpha, beta)
Parameters:
float
-
First parameter of the distribution.
beta : float
-
Second parameter of the distribution.
|
Initializes a new instance of the BetaDistribution class, using the specified parameters and the default Generator.
|
||
|
Initializes a new instance of the BetaDistribution class, using the specified Generator as underlying random number generator.
|
Instance member | Description |
Full Usage:
this.Alpha
|
Gets or sets the parameter alpha which is used for generation of beta distributed random numbers. Call BetaDistribution.IsValidAlpha to determine whether a value is valid and therefor assignable. |
Full Usage:
this.Beta
|
Gets or sets the parameter beta which is used for generation of beta distributed random numbers. Call BetaDistribution.IsValidBeta to determine whether a value is valid and therefor assignable. |
Full Usage:
this.CDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Initialize
Parameters:
float
beta : float
|
|
Full Usage:
this.IsValidAlpha
Parameters:
float
-
The value to check.
Returns: bool
if value is greater than 0.0; otherwise, .
|
|
Full Usage:
this.IsValidBeta
Parameters:
float
-
The value to check.
Returns: bool
if value is greater than 0.0; otherwise, .
|
|
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
Gets the maximum possible value of beta distributed random numbers.
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
Gets the mean value of beta distributed random numbers.
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
Gets the median of beta distributed random numbers.
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
Gets the minimum possible value of beta distributed random numbers.
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
Gets the mode of beta distributed random numbers.
|
Full Usage:
this.NextDouble
Returns: float
A beta distributed double-precision floating point number.
Modifiers: abstract |
Returns a beta distributed floating point random number.
|
Full Usage:
this.PDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Quantile
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Variance
Returns: float
Modifiers: abstract |
Gets the variance of beta distributed random numbers.
|
Static member | Description |
Full Usage:
BetaDistribution.CDF(x, A, B)
Parameters:
float
A : float
B : float
Returns: float
|
|
Full Usage:
BetaDistribution.PDF(x, A, B)
Parameters:
float
A : float
B : float
Returns: float
|
|
Full Usage:
BetaDistribution.Quantile(p, A, B)
Parameters:
float
A : float
B : float
Returns: float
|
|