|
ChiSquareDistribution. Random 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
Syntaxpublic 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: System.Int32
- samples
- Type: System.Int32
- source
- Type: System.Random
Return Value
Type:
Double[]An array of double values sampled from the specified Chi-Square distribution.
See Also