Provides generation of Fisher-Snedecor distributed random numbers.
The implementation of the FisherSnedecorDistribution type bases upon information presented on Wikipedia - F-distribution.
Return F-distributed (variance ratio distributed) random deviates with n numerator degrees of freedom and d denominator degrees of freedom according to the density: p (x) dx = ... dx a,b Both paramters alpha and beta must be positive. Method: The random numbers are directly generated from ratios of ChiSquare variates according to: F = (ChiSquare(alpha)/alpha) / (ChiSquare(beta)/beta)
Constructor | Description | ||
Full Usage:
FisherSnedecorDistribution()
|
Initializes a new instance of the FisherSnedecorDistribution class, using a StandardGenerator as underlying random number generator. |
||
|
Initializes a new instance of the FisherSnedecorDistribution class, using the specified Generator as underlying random number generator.
|
||
Full Usage:
FisherSnedecorDistribution(alpha, beta)
Parameters:
float
beta : float
|
|
||
Full Usage:
FisherSnedecorDistribution(alpha, beta, generator)
Parameters:
float
beta : float
generator : Generator
|
|
Instance member | Description |
Full Usage:
this.Alpha
|
Gets or sets the parameter alpha which is used for generation of Fisher-Snedecor distributed random numbers. Call FisherSnedecorDistribution.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 Fisher-Snedecor distributed random numbers. Call FisherSnedecorDistribution.IsValidBeta to determine whether a value is valid and therefor assignable. |
Full Usage:
this.CDF
Parameters:
float
-
The function argument.
Returns: float
The cumulated distribution (probability) of the distribution at value x.
Modifiers: abstract |
Returns the cumulated distribution function for value x with the distribution parameters numf and denomf.
|
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; otherwise, .
|
|
Full Usage:
this.IsValidBeta
Parameters:
float
-
The value to check.
Returns: bool
if value is greater than 0; otherwise, .
|
|
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
Gets the maximum possible value of Fisher-Snedecor distributed random numbers.
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
Gets the mean value of Fisher-Snedecor distributed random numbers.
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
Gets the median of Fisher-Snedecor distributed random numbers.
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
Gets the minimum possible value of Fisher-Snedecor distributed random numbers.
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
Gets the mode of Fisher-Snedecor distributed random numbers.
|
Full Usage:
this.NextDouble
Returns: float
A Fisher-Snedecor distributed double-precision floating point number.
Modifiers: abstract |
Returns a Fisher-Snedecor distributed floating point random number.
|
Full Usage:
this.PDF
Parameters:
float
-
The function argument.
Returns: float
The probability density of the distribution at value x.
Modifiers: abstract |
Returns the probability density function for value x with the distribution parameters p and q.
|
Full Usage:
this.Quantile
Parameters:
float
-
Probability (0..1).
Returns: float
The quantile of the F-Distribution.
Modifiers: abstract |
Quantile of the F-distribution.
|
Full Usage:
this.Variance
Returns: float
Modifiers: abstract |
Gets the variance of Fisher-Snedecor distributed random numbers.
|
Static member | Description |
Full Usage:
FisherSnedecorDistribution.CDF(x, alpha, beta)
Parameters:
float
-
The function argument.
alpha : float
-
First parameter of the distribution.
beta : float
-
Second paramenter of the distribution.
Returns: float
The cumulated distribution (probability) of the distribution at value x.
|
Returns the cumulated distribution function for value x with the distribution parameters numf and denomf.
|
Full Usage:
FisherSnedecorDistribution.PDF(x, alpha, beta)
Parameters:
float
-
The function argument.
alpha : float
-
First parameter of the distribution.
beta : float
-
Second paramenter of the distribution.
Returns: float
The probability density of the distribution at value x.
|
Returns the probability density function for value x with the distribution parameters p and q.
|
Full Usage:
FisherSnedecorDistribution.Quantile(probability, alpha, beta)
Parameters:
float
-
Probability (0..1).
alpha : float
-
First parameter of the distribution.
beta : float
-
Second parameter of the distribution.
Returns: float
The quantile of the F-Distribution.
|
Quantile of the F-distribution.
|