Click or drag to resize

OneSampleAndersonDarlingTest Class

Class OneSampleAndersonDarlingTest performs a Anderson-Darling test of the distribution of one sample.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreOneSampleAndersonDarlingTest

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

The OneSampleAndersonDarlingTest type exposes the following members.

Constructors
 NameDescription
Public methodOneSampleAndersonDarlingTest Default constructor. Constructs an empty OneSampleAndersonDarlingTest instance.
Public methodOneSampleAndersonDarlingTest(Double) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(DoubleVector) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(IDFColumn) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(Int32) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(Double, Double) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(DoubleVector, Double) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(IDFColumn, Double) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Public methodOneSampleAndersonDarlingTest(Int32, Double) Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown.
Top
Properties
 NameDescription
Public propertyAlpha Gets and sets the alpha level associated with this hypothesis test.
Public propertyStatic memberDefaultAlpha Default alpha level
Public propertyError Error message if the Anderson-Darling test fails on the provided data
Public propertyIsGood If the test statistic cannot be derived then IsGood is set to false. Otherwise, IsGood is true.
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 propertyS Sample standard deviation.
Public propertyStatistic Test statistic associated with this hypothesis test (A).
Public propertyStatisticStar Modified Anderson Darling statistic used to derive P (A*)
Public propertyXbar Sample mean.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this OneSampleAndersonDarlingTest.
Public methodToString Returns a formatted string representation of the test results.
(Overrides ObjectToString)
Public methodUpdate(Double) Updates this test with new sample data.
Public methodUpdate(DoubleVector) Updates this test with the established parameters.
Public methodUpdate(IDFColumn) Updates this test with new sample data.
Public methodUpdate(Int32) Updates this test with new sample data.
Top
Remarks
Class OneSampleAndersonDarlingTest compares the distribution of a given sample to normal distribution function (CDF). The alternative hypothesis that the data do not have a normal distribution.
See Also