Click or drag to resize
Accord.NET (logo)

KolmogorovSmirnovTestTwoSide Method

Gets the two-sided "Dn" Kolmogorov-Sminorv statistic for the samples and target distribution.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
public static double TwoSide(
	double[] sortedSamples,
	IDistribution<double> distribution
)
Request Example View Source

Parameters

sortedSamples
Type: SystemDouble
The sorted samples.
distribution
Type: Accord.Statistics.DistributionsIDistributionDouble
The target distribution.

Return Value

Type: Double
See Also