Siegel_TukeyTest
javanpst.tests.scale.siegel_TukeyTest

Class Siegel_TukeyTest



  • public class Siegel_TukeyTestextends StatisticalTest
    The Siegel-Tukey test. Assuming the scale model (equal medians), this test can be employed to test whether the two distributions selected have equal scale parameter (with the null hypothesis of equality). The Siegel-Tukey test ranks elements using the same set of weights defined for the Wilcoxon Ranks-Sum test. An approximation to the Normal distribution is employed to compute asymptotic p-values. Exact p-values, if the size of both samples is lower than 10, are also computed
    • Constructor Detail

      • Siegel_TukeyTest

        public Siegel_TukeyTest()
        Default builder
      • Siegel_TukeyTest

        public Siegel_TukeyTest(DataTable newData)
        Builder. Load data to test.
        Parameters:
        newData - data to test.
    • Method Detail

      • setData

        public void setData(DataTable newData)
        Sets data to test
        Parameters:
        newData - data to test.
      • getTestStatistic1

        public double getTestStatistic1()
        Get test statistic associated to the first sample
        Returns:
        normal Statistic of the first sample
      • getTestStatistic2

        public double getTestStatistic2()
        Get test statistic associated to the second sample
        Returns:
        normal Statistic of the second sample
      • getExactLeftPValue

        public double getExactLeftPValue()
        Get left tail exact p-value
        Returns:
        left tail p-value computed
      • getExactRightPValue

        public double getExactRightPValue()
        Get right tail exact p-value
        Returns:
        right tail p-value computed
      • getExactDoublePValue

        public double getExactDoublePValue()
        Get double tail exact p-value
        Returns:
        double tail p-value computed
      • getLeftPValue

        public double getLeftPValue()
        Get left tail p-value
        Returns:
        left tail p-value computed
      • getRightPValue

        public double getRightPValue()
        Get right tail p-value
        Returns:
        right tail p-value computed
      • getDoublePValue

        public double getDoublePValue()
        Get double tail p-value
        Returns:
        double tail p-value computed
      • printWeights

        public String printWeights()
        Prints the array of weights
        Returns:
        string with the contents of the array

SCaVis 1.7 © jWork.org