Returns an Anderson-Darling test whether a sample was drawn from the normal distribution.
Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static AndersonDarlingTest AndersonDarlingTest(
Vector<double> sample,
double mean = NaN,
double standardDeviation = NaN
)
Public Shared Function AndersonDarlingTest (
sample As Vector(Of Double),
Optional mean As Double = NaN,
Optional standardDeviation As Double = NaN
) As AndersonDarlingTest
public:
static AndersonDarlingTest^ AndersonDarlingTest(
Vector<double>^ sample,
double mean = NaN,
double standardDeviation = NaN
)
static member AndersonDarlingTest :
sample : Vector<float> *
?mean : float *
?standardDeviation : float
(* Defaults:
let _mean = defaultArg mean NaN
let _standardDeviation = defaultArg standardDeviation NaN
*)
-> AndersonDarlingTest
Parameters
- sample
- Type: Extreme.MathematicsVectorDouble
A vector that contains a sample from the population. - mean (Optional)
- Type: SystemDouble
The mean of the population, if known;
otherwise NaN. - standardDeviation (Optional)
- Type: SystemDouble
The standard deviation of the population,
if known; otherwise NaN.
Return Value
Type:
AndersonDarlingTestAn Anderson-Darling test.
Numerical Libraries
Supported in: 6.0
Reference