Hypothesis Tests.Anderson Darling Test Method
Returns an Anderson-Darling test whether a sample was drawn from the normal distribution.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
An Anderson-Darling test.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static AndersonDarlingTest AndersonDarlingTest(
Vector<double> sample,
double mean = NaN,
double standardDeviation = NaN
)
Parameters
- sample Vector<Double>
- A vector that contains a sample from the population.
- mean Double (Optional)
- The mean of the population, if known; otherwise NaN.
- standardDeviation Double (Optional)
- The standard deviation of the population, if known; otherwise NaN.
Return Value
AndersonDarlingTestAn Anderson-Darling test.