HypothesisTests.AndersonDarlingTest 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.0
C#
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

AndersonDarlingTest
An Anderson-Darling test.

See Also