|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.test.HypothesisTest
com.numericalmethod.suanshu.stats.test.rank.SiegelTukey
public class SiegelTukey
The Siegel-Tukey test tests for differences in scale (variability) between two groups. 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).
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlternativeHypothesis()
Get the description of the alternative hypothesis. |
java.lang.String |
getNullHypothesis()
Get a description of the null hypothesis. |
double |
leftOneSidedPvalue()
Get the left, one-sided p-value. |
double |
pValue()
Get the p-value for the test statistics. |
double |
rightOneSidedPvalue()
Get the right, one-sided p-value. |
double |
statistics()
Get the test statistics. |
| Methods inherited from class com.numericalmethod.suanshu.stats.test.HypothesisTest |
|---|
isNullRejected, nGroups, nObs, oneSidedPvalue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 used
public SiegelTukey(double[] sample1,
double[] sample2,
double mu)
sample1 - sample 1sample2 - sample 2mu - the hypothetical mean difference
public SiegelTukey(double[] sample1,
double[] sample2)
sample1 - sample 1sample2 - sample 2| Method Detail |
|---|
public java.lang.String getNullHypothesis()
HypothesisTest
getNullHypothesis in class HypothesisTestpublic java.lang.String getAlternativeHypothesis()
HypothesisTest
getAlternativeHypothesis in class HypothesisTestpublic double statistics()
HypothesisTest
statistics in class HypothesisTestpublic double pValue()
HypothesisTest
pValue in class HypothesisTestpublic double rightOneSidedPvalue()
public double leftOneSidedPvalue()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||