Performs the Shapiro-Wilk W test using Royston's calculation.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double ShapiroWilkTest()
Visual Basic (Declaration)
Public Function ShapiroWilkTest As Double
Visual C++
public:
double ShapiroWilkTest()

Return Value

A double scalar containing the p-value for the Shapiro-Wilk W test.

Exceptions

ExceptionCondition
Imsl.Stat..::.NoVariationInputException is thrown if there is no variation in the input data
Imsl.Stat..::.DidNotConvergeException is thrown if the iteration did not converge

See Also