Click or drag to resize
Accord.NET (logo)

KolmogorovSmirnovDistributionComplementaryDistributionFunction Method (Double, Double)

Computes the Complementary Cumulative Distribution Function (1-CDF) for the Kolmogorov-Smirnov statistic's distribution.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double ComplementaryDistributionFunction(
	double n,
	double x
)
Request Example View Source

Parameters

n
Type: SystemDouble
The sample size.
x
Type: SystemDouble
The Kolmogorov-Smirnov statistic.

Return Value

Type: Double
Returns the complementary cumulative probability of the statistic x under a sample size n.
See Also