Click or drag to resize
Accord.NET (logo)

KolmogorovSmirnovTest Constructor (Double, IDistributionDouble, KolmogorovSmirnovTestHypothesis)

Creates a new One-Sample Kolmogorov test.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public KolmogorovSmirnovTest(
	double[] sample,
	IDistribution<double> hypothesizedDistribution,
	KolmogorovSmirnovTestHypothesis alternate = KolmogorovSmirnovTestHypothesis.SampleIsDifferent
)
Request Example View Source

Parameters

sample
Type: SystemDouble
The sample we would like to test as belonging to the hypothesizedDistribution.
hypothesizedDistribution
Type: Accord.Statistics.DistributionsIDistributionDouble
A fully specified distribution (which must NOT have been estimated from the data).
alternate (Optional)
Type: Accord.Statistics.TestingKolmogorovSmirnovTestHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also