Click or drag to resize

FDistributionSample Method (RandomGenerator, Double, Double)

Static method which generates new sample of F-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(
	RandomGenerator generator,
	double d1,
	double d2
)

Parameters

generator
Type: FinMath.StatisticsRandomGenerator
Base random number generator.
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
F-distributed sample.
See Also