|
ChiSquareDistributionRandom Method (Int32, Int32, Random)
|
Generates a random vector of observations 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,
int samples,
Random source
)
Public Shared Function Random (
degreesOfFreedom As Integer,
samples As Integer,
source As Random
) As Double()
Request Example
View SourceParameters
- degreesOfFreedom
- Type: SystemInt32
- samples
- Type: SystemInt32
- source
- Type: SystemRandom
Return Value
Type:
DoubleAn array of double values sampled from the specified Chi-Square distribution.
See Also