shapiroTest#

swordfish.function.shapiroTest()#

Conduct a Shapiro-Wilk test on X.

Parameters:

X (Constant) – A numeric vector indicating the sample for the test.

Returns:

A dictionary with the following keys:

  • method : “Shapiro-Wilk normality test”

  • pValue : p-value of the test

  • W : W-stat

Return type:

Constant