Click or drag to resize

FDistributionSample Method (Double, Double)

Static method which generates new sample of Chi-square distribution variate with specified parameters.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static double Sample(
	double d1,
	double d2
)

Parameters

d1
Type: SystemDouble
Numerator degrees of freedom number. Must be positive.
d2
Type: SystemDouble
Denominator degrees of freedom number. Must be positive.

Return Value

Type: Double
Chi-sqaure distributed sample.
See Also