|
ChiSquareDistributionRandom Method (Int32)
|
Generates a random observation from the
Chi-Square distribution with the given parameters.
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double Random(
int degreesOfFreedom
)
Public Shared Function Random (
degreesOfFreedom As Integer
) As Double
Request Example
View SourceParameters
- degreesOfFreedom
- Type: SystemInt32
The degrees of freedom for the distribution.
Return Value
Type:
DoubleA random double value sampled from the specified Chi-Square distribution.
See Also