public class ShapiroWilk extends HypothesisTest
The sample size must be between 3 and 5000.
The R equivalent function is shapiro.test.
k, N, pValue, testStatistics| Constructor and Description |
|---|
ShapiroWilk(double[] sample)
Perform the Shapiro-Wilk test to test for the null hypothesis that a sample comes from a normally distributed population.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlternativeHypothesis()
Get a description of the alternative hypothesis.
|
java.lang.String |
getNullHypothesis()
Get a description of the null hypothesis.
|
isNullRejected, oneSidedPvalue, pValue, statisticspublic ShapiroWilk(double[] sample)
sample - a samplepublic java.lang.String getNullHypothesis()
HypothesisTestgetNullHypothesis in class HypothesisTestpublic java.lang.String getAlternativeHypothesis()
HypothesisTestgetAlternativeHypothesis in class HypothesisTest