Documentation of 'javanpst.tests.location.wilcoxonRankSumTest.WilcoxonRankSumTest' Java class
WilcoxonRankSumTest
javanpst.tests.location.wilcoxonRankSumTest

Class WilcoxonRankSumTest



  • public class WilcoxonRankSumTest
    extends StatisticalTest
    The Wilcoxon Ranks-Sum test. This test can be used for testing the null hypothesis of equal medians between two samples, assuming the location model. An exact and a normal approximation of p-values is provided. (exact p-values are only computes if samples' size is equal or lower than 10). Moreover, confidence intervals for the differences of medians (at 0.90 and 0.95 level) are computed. Asymptotic P-value is computed through a normal approximation. Ties are handled by the midranks method, and an appropriate reduction of variance is considered.
    • Constructor Detail

      • WilcoxonRankSumTest

        public WilcoxonRankSumTest()
        Default builder
      • WilcoxonRankSumTest

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

      • clearData

        public void clearData()
        Clears the data stored in the test
        Specified by:
        clearData in class StatisticalTest
      • setData

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

        public double getStatistic1()
        Get Wilcoxon Statistic
        Returns:
        Wilcoxon Statistic
      • getExactLeftPValue

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

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

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

        public double getAsymptoticLeftPValue()
        Get asymptotic left tail p-value
        Returns:
        left tail p-value computed
      • getAsymptoticRightPValue

        public double getAsymptoticRightPValue()
        Get asymptotic right tail p-value
        Returns:
        right tail p-value computed
      • getExactConfidence90

        public double getExactConfidence90()
        Get exact confidence of the 0.90 confidence interval
        Returns:
        double tail p-value computed
      • getExactConfidence95

        public double getExactConfidence95()
        Get exact confidence of the 0.95 confidence interval
        Returns:
        double tail p-value computed
      • printConfidenceInterval90

        public java.lang.String printConfidenceInterval90()
        Prints the confidence interval for median difference at 0.90 level.
        Returns:
        Data stored
      • printConfidenceInterval95

        public java.lang.String printConfidenceInterval95()
        Prints the confidence interval for median difference at 0.95 level.
        Returns:
        Data stored
      • getAsymptoticDoublePValue

        public double getAsymptoticDoublePValue()
        Get asymptotic double tail p-value
        Returns:
        double tail p-value computed
      • printData

        public java.lang.String printData()
        Prints the data stored in the test
        Specified by:
        printData in class StatisticalTest
        Returns:
        Data stored
      • printReport

        public java.lang.String printReport()
        Prints a report with the results of the test
        Specified by:
        printReport in class StatisticalTest
        Returns:
        Output report

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.