Generates central chi-square distributed random numbers.
Generates random deviates from a central chi-square distribution with
f degrees of freedom. f must be positive.
The density of this distribution is:
-f/2 f/2-1 -x/2
2 x e
p (x) dx = --------------------- dx for x > 0
f Gamma(f/2)
= 0 otherwise
The calculation uses the relation between chi-square and gamma distribution:
ChiSquare(f) = GammaDistribution(f/2,1/2)
References:
K. Behnen, G. Neuhaus, "Grundkurs Stochastik", Teubner Studienbuecher
Mathematik, Teubner Verlag, Stuttgart, 1984.
| Constructor | Description |
Full Usage:
ChiSquareDistribution(f)
Parameters:
float
|
|
|
|
| Instance member | Description |
Full Usage:
this.CDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Freedom
Returns: float
|
|
Full Usage:
this.NextDouble
Returns: float
|
|
Full Usage:
this.PDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Quantile
Parameters:
float
Returns: float
Modifiers: abstract |
|