public class SiegelTukey extends HypothesisTest
The test is used to determine if one of two groups of data tends to have more widely dispersed values than the other. In other words, the test determines whether one of the two groups tends to move, sometimes to the right, sometimes to the left, but away from the center (of the ordinal scale).
| Modifier and Type | Field and Description |
|---|---|
double |
pValue1SidedGreater
right, one-sided p-value
|
double |
pValue1SidedLess
left, one-sided p-value
|
k, N, pValue, testStatistics| Constructor and Description |
|---|
SiegelTukey(double[] sample1,
double[] sample2)
Perform the Siegel-Tukey test to test for differences in scale (variability) between two groups.
|
SiegelTukey(double[] sample1,
double[] sample2,
double mu)
Perform the Siegel-Tukey test to test for differences in scale (variability) between two groups.
|
SiegelTukey(double[] sample1,
double[] sample2,
double mu,
boolean isExact)
Perform the Siegel-Tukey test to test for differences in scale (variability) between two groups.
|
| 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 final double pValue1SidedLess
public final double pValue1SidedGreater
public SiegelTukey(double[] sample1,
double[] sample2,
double mu,
boolean isExact)
sample1 - sample 1sample2 - sample 2mu - the hypothetical mean differenceisExact - indicate whether the exact Wilcoxon Rank Sum distribution is usedpublic SiegelTukey(double[] sample1,
double[] sample2,
double mu)
sample1 - sample 1sample2 - sample 2mu - the hypothetical mean differencepublic SiegelTukey(double[] sample1,
double[] sample2)
sample1 - sample 1sample2 - sample 2public java.lang.String getNullHypothesis()
HypothesisTestgetNullHypothesis in class HypothesisTestpublic java.lang.String getAlternativeHypothesis()
HypothesisTestgetAlternativeHypothesis in class HypothesisTest