HypothesisTests.AndersonDarlingTest Method

Returns an Anderson-Darling test whether a sample was drawn from the normal distribution.

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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