public class SiegelTukey extends HypothesisTest
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 |
---|---|
String |
getAlternativeHypothesis()
Get the description of the alternative hypothesis.
|
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.
|
isNullRejected, nGroups, nObs, oneSidedPvalue
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 String getNullHypothesis()
HypothesisTest
getNullHypothesis
in class HypothesisTest
public String getAlternativeHypothesis()
HypothesisTest
getAlternativeHypothesis
in class HypothesisTest
public double statistics()
HypothesisTest
statistics
in class HypothesisTest
public double pValue()
HypothesisTest
pValue
in class HypothesisTest
public double rightOneSidedPvalue()
public double leftOneSidedPvalue()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.