Click or drag to resize

OneSampleKSTest Class

Class OneSampleKSTest performs a Kolmogorov-Smirnov test of the distribution of one sample.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreOneSampleKSTest

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
[SerializableAttribute]
public class OneSampleKSTest : ICloneable

The OneSampleKSTest type exposes the following members.

Constructors
  NameDescription
Public methodOneSampleKSTest
Default constructor. Constructs an empty OneSampleKSTest instance.
Public methodOneSampleKSTest(Double, ProbabilityDistribution)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(Double, FuncDouble, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(Int32, ProbabilityDistribution)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(Int32, FuncDouble, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(DoubleVector, ProbabilityDistribution)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(DoubleVector, FuncDouble, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(IDFColumn, ProbabilityDistribution)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(IDFColumn, FuncDouble, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(Double, ProbabilityDistribution, Double)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(Double, FuncDouble, Double, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(Int32, ProbabilityDistribution, Double)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(Int32, FuncDouble, Double, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(DoubleVector, ProbabilityDistribution, Double)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(DoubleVector, FuncDouble, Double, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Public methodOneSampleKSTest(IDFColumn, ProbabilityDistribution, Double)
Constructs a OneSampleKSTest from the given sample data and specified distribution.
Public methodOneSampleKSTest(IDFColumn, FuncDouble, Double, Double)
Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).
Top
Properties
  NameDescription
Public propertyAlpha
Gets and sets the alpha level associated with this hypothesis test.
Public propertyCriticalValue
Gets the critical value based on the current alpha level associated with this hypothesis test.
Public propertyStatic memberDefaultAlpha
Gets and sets the default alpha level associated with OneSampleKSTests.
Public propertyN
Gets the sample size.
Public propertyP
Gets the p-value associated with the test statistic.
Public propertyReject
Tests whether the null hypothesis can be rejected, using the current alpha level.
Public propertyStatistic
Gets the value of the test statistic associated with this hypothesis test.
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this OneSampleKSTest.
Public methodUpdate(Double, ProbabilityDistribution)
Updates this test with new sample data and a new distribution.
Public methodUpdate(Double, FuncDouble, Double)
Updates this test with new sample data and a new cumulative distribution function (CDF).
Public methodUpdate(Int32, ProbabilityDistribution)
Updates this test with new sample data and a new distribution.
Public methodUpdate(Int32, FuncDouble, Double)
Updates this test with new sample data and a new cumulative distribution function (CDF).
Public methodUpdate(DoubleVector, ProbabilityDistribution)
Updates this test with new sample data and a new distribution.
Public methodUpdate(DoubleVector, FuncDouble, Double)
Updates this test with new sample data and a new cumulative distribution function (CDF).
Public methodUpdate(IDFColumn, ProbabilityDistribution)
Updates this test with new sample data and a new distribution.
Public methodUpdate(IDFColumn, FuncDouble, Double)
Updates this test with new sample data and a new cumulative distribution function (CDF).
Top
Remarks
Class OneSampleKSTest compares the distribution of a given sample to the hypothesized distribution defined by a specified cumulative distribution function (CDF). For each potential value x, the Kolmogorov-Smirnov test compares the proportion of values less than x with the expected number predicted by the specified CDF. The null hypothesis is that the given sample data follow the specified distribution. The alternative hypothesis that the data do not have that distribution.
See Also